mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-14 06:43:03 +00:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user