www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - hexadecimal integer literal "[0-9a-fA-F]+h" doesn't behave as documented

reply "Thomas Kuehne" <eisvogel users.sourceforge.net> writes:
lex.html:
 Hexadecimal integers are a sequence of hexadecimal
 digits preceded by a '0x' or followed by an 'h'.

code: # # int i = 123h; # results in: run/integer_literal_hex_13.d(2): found 'h' when expecting ')' run/integer_literal_hex_13.d(2): found ')' when expecting ';' following 'statement' test case: svn://svn.kuehne.cn/dstress/run/integer_literal_hex_13.d Thomas
Oct 09 2004
parent "Thomas Kuehne" <eisvogel users.sourceforge.net> writes:
sorry for the misdirected post ;)

Thomas
Oct 09 2004