bison-patches
[Top][All Lists]
Advanced

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

Re: Bison patch for POSIX and Yacc compatibility with %union


From: Akim Demaille
Subject: Re: Bison patch for POSIX and Yacc compatibility with %union
Date: Mon, 13 Jan 2003 18:53:47 +0100
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu)

 Paul> I installed the following patch to fix the "%union foo { ... }"
 Paul> compatibility issue noted by David Durham and others.  While I
 Paul> was at it, I noticed that Bison does not conform to POSIX with
 Paul> respect to the YYSTYPE typedef.  The following patch fixes both
 Paul> issues.

Hi Paul,

I find this patch to be quite hard to understand.  Why did you chose
to allow the identifier at the scanner level?  Why not having accepted
this extension in the grammar instead?




reply via email to

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