On 02/14/2012 10:24 PM, H. S. Teoh wrote:
OK, so I know that octals are deprecated, and the compiler will refuse
to compile code with octals unless the -deprecated flag is used.

But I find that std.datetime has literals of the form 000, 01, 02, 03,
and so on. Are these considered OK? Should my lexer accept them?


T


Yes.

On 02/11/2012 05:37 PM, Timon Gehr wrote:
Octal literals whose value is larger than 7 must be rejected. Octal literals 
with values up to 7 must be accepted.

Reply via email to