[nem-en] integer literals grammar

Michal Moskal michal.moskal at gmail.com
Sat Feb 24 00:29:27 CET 2007


On 2/23/07, Kamil Skalski <kamil.skalski at gmail.com> wrote:
> > - can underscore be used in non-decimal literals? like 0xa_1, or 0x1_a
> > (first compiles, second - not)
>
> Looks like _ expects always digit after it, otherwise it terminates
> the literal. I guess it would be resonable to forbid _ in non-decimal
> literals.

Of course not!

0x_dead_f00d_1234L

You just place each 4 digits, not 3.


-- 
   Michał


More information about the devel-en mailing list