* data/glr.c (b4_shared_declarations): Put start-header first,
commitaef3da86899c5f2cd4eed728b63bd82413106a43
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 11 Sep 2006 18:56:58 +0000 (11 18:56 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 11 Sep 2006 18:56:58 +0000 (11 18:56 +0000)
tree440939767247c0a4117fa268ff0951c78f121bdb
parent84567a1b1c234478b13711db350701c241a668c5
* data/glr.c (b4_shared_declarations): Put start-header first,
before any #includes that we generate, so that feature-test
macros work.  Problem reported by Michael Deutschmann in
<http://lists.gnu.org/archive/html/bug-bison/2006-09/msg00004.html>.
* data/lalr1.cc: Likewise.
* doc/bison.texinfo (Prologue): Document that feature-test macros
should be defined before any Bison declarations.
* tests/actions.at (_AT_CHECK_PRINTER_AND_DESTRUCTOR): Put defns
that depend on location.hh after, not before, Bison decls, since
we now include location.hh after the first user prologue.
ChangeLog
data/glr.cc
data/lalr1.cc
doc/bison.texinfo
tests/actions.at