More octal questions

H. S. Teoh hsteoh at quickfur.ath.cx
Tue Feb 14 13:24:04 PST 2012


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

-- 
To err is human; to forgive is not our policy. -- Samuel Adler


More information about the Digitalmars-d-learn mailing list