bison-patches
[Top][All Lists]
Advanced

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

Re: FYI: Fix aliases properties consistency checks


From: Paul Eggert
Subject: Re: FYI: Fix aliases properties consistency checks
Date: Sun, 10 Oct 2004 21:22:19 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Akim Demaille <address@hidden> writes:

> I'll stick to const symbol, because I'm used to reading const char
> in most GNU programs I read.

Yes, the "type-before-const" rule is not universal.  Partly this is
because the C standard uses "const-before-type" when it can, and falls
back on "type-before-const" only when "const-before-type" doesn't work
(e.g., "char * const").

> Given that bison is written with const type, not type const,

No, Bison is inconsistent.  It sometimes uses "const type", and
sometimes "type const".  I'd prefer standardizing on the latter form
as it is slowly becoming more popular in other GNU utilities.

Obviously it's not a major issue.




reply via email to

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