Hex constants parsing bug V8R8 (and previous maybe)

Started by frankie, March 22, 2015, 11:35:55 AM

Previous topic - Next topic

frankie

The parser confuses the final digit 'e' of an hex constant with the exponent 'e' of floats.

int main(int argc, char *argv[])
{
    int a = 0xe+1;  // error #2182: '0xe+1' is a preprocessing number but an invalid integer constant.
}


Adding spaces after 'e remove the error.
"It is better to be hated for what you are than to be loved for what you are not." - Andre Gide