mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 04:13:03 +00:00
* src/flex-scanner.h (FLEX_NO_OBSTACK): New macro that blocks obstack definitions so gcc won't warn when obstack_for_string is unused. * src/scan-code.l: config.h and system.h are already #include'd by scan-code-c.c, so get rid of them here. * src/scan-gram.l: Likewise. * src/scan-skel.l: Likewise, and use flex-scanner.h without obstack definitions rather than duplicating the rest of it. * src/scan-gram-c.c, scan-skel-c.c: #include "system.h".
4 lines
63 B
C
4 lines
63 B
C
#include <config.h>
|
|
#include "system.h"
|
|
#include "scan-skel.c"
|