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,6 +21,7 @@
#ifndef LOCATION_H_
# define LOCATION_H_
# include <stdbool.h>
# include "uniqstr.h"
/* A boundary between two characters. */