Get Bison to build again when configured with --enable-gcc-warnings.

* src/location.c, src/location.h, src/main.c, src/scan-code.l: Add some
missing #include's.
* src/scan-code.l (handle_action_dollar, handle_action_at): Rename
loc argument as it shadows a global.
* src/scan-gram.l: Remove stray comma that prevents boundary_set
invocation.

* src/.cvsignore: Add scan-code.c.
This commit is contained in:
Joel E. Denny
2006-06-07 20:06:27 +00:00
parent 9f936c5e9c
commit 0c8e079fa6
7 changed files with 30 additions and 11 deletions

View File

@@ -21,8 +21,10 @@
#include <config.h>
#include "system.h"
#include <mbswidth.h>
#include <quotearg.h>
#include "complain.h"
#include "location.h"
location const empty_location;