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-        [email protected]
         Oracle Solaris Platform Engineering: X Window System

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to