bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: To allow hex and oct %token values


From: Paul Eggert
Subject: Re: To allow hex and oct %token values
Date: 07 Mar 2004 14:20:10 -0800
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Tim Van Holder <address@hidden> writes:

> I'm also not sure how such changes would impact POSIX compliance.

POSIX says the token numbers are decimal, so parsing them as octal
would not conform to POSIX.  Hexadecimal (with leading 0x) would be a
conforming extension.

Does anybody still use octal these days?  If so, Bison could support
them with a leading 0o, say.  I doubt whether it's worth the hassle,
though.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]