ImportC octal literals: difference between GCC and dmd
forkit
forkit at gmail.com
Sun Nov 28 00:09:50 UTC 2021
On Saturday, 27 November 2021 at 21:37:06 UTC, bachmeier wrote:
>
> That must have been something different. I added a comment on
> the issue that this is a recent regression, introduced in
> 2.082.1. It worked correctly before that release.
Looks like an ImportC related change??
lexer.d -> private TOK number(Token* t)
-----
case '7':
base = 8;
break;
case '8':
case '9':
if (Ccompile)
error("octal digit expected, not `%c`", c);
base = 8;
break;
case 'x':
-----
More information about the Digitalmars-d
mailing list