mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-10-22 07:28:31 +00:00
* src/scan-gram.l (braces_level, context_state): Make these globals
static.
This commit is contained in:
1 parent
47aee066cc
commit
2d2c1a2dec
2 files changed
+7
-2
No files matched your search
@@ -1,3 +1,8 @@
|
||||
2006-08-14 Joel E. Denny <[email protected]>
|
||||
|
||||
* src/scan-gram.l (braces_level, context_state): Make these globals
|
||||
static.
|
||||
|
||||
2006-08-14 Joel E. Denny <[email protected]>
|
||||
|
||||
In the grammar scanner, STRING_FINISH unclosed constructs and return
|
||||
|
||||
+2
-2
@@ -108,10 +108,10 @@ splice (\\[ \f\t\v]*\n)*
|
||||
%%
|
||||
%{
|
||||
/* Nesting level of the current code in braces. */
|
||||
int braces_level IF_LINT (= 0);
|
||||
static int braces_level IF_LINT (= 0);
|
||||
|
||||
/* Parent context state, when applicable. */
|
||||
int context_state IF_LINT (= 0);
|
||||
static int context_state IF_LINT (= 0);
|
||||
|
||||
/* Location of most recent identifier, when applicable. */
|
||||
location id_loc IF_LINT (= empty_location);
|
||||
|
||||
Reference in new issue
Block a user