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

@@ -751,7 +751,7 @@ handle_syncline (char *args, location loc)
lineno = INT_MAX;
}
current_file = uniqstr_new (file);
boundary_set, (&scanner_cursor, current_file, lineno, 1);
boundary_set (&scanner_cursor, current_file, lineno, 1);
}