bison-patches
[Top][All Lists]
Advanced

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

Re: flex porting glitch on Solaris 10 affects Bison


From: Paul Eggert
Subject: Re: flex porting glitch on Solaris 10 affects Bison
Date: Mon, 12 Dec 2005 10:56:58 -0800
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

Akim Demaille <address@hidden> writes:

> I have not understood why you removed config.h from system.h.  If the
> issue was multiple inclusion,

The basic argument for doing it this way is that the usual rule in
other GNU programs is "include <config.h> first".  In Bison the rule
was "include "system.h" first if you're in the src directory,
otherwise include <config.h> first".  That's a more-complicated rule,
and is more likely to go wrong.

Now that I think about it, I suppose I could have changed the wrapper
to include "system.h" first; that would have been a smaller patch.  I
didn't think about it earlier, since I was so used to doing it the
usual way.  If you prefer the old Bison rule please feel free to do it
that way instead.




reply via email to

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