[PATCH:libXaw3d] Make laygram.y compatible with bison 2.3 and older

Alan Coopersmith alan.coopersmith at oracle.com
Sat Sep 3 18:38:37 PDT 2011

On 09/03/11 18:25, Gaetan Nadon wrote:
> 3) Removing all traces of LayYY. It builds, but I have no idea if it is correct.
> No other modules using lex & yacc use this prefix. I suppose we don't know why
> it was done in the first place. The stripped library has the same size, so it's
> a good start.

I would imagine to reduce the chances of conflict if the library is linked with
an application that also uses a bison/yacc generated parser.   Today we might 
use _X_HIDDEN, but not all compilers support that today, and this code may
predate any compiler/linker supporting hiding symbols like that.

	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System

More information about the xorg-devel mailing list