* src/scan-gram.l (braces_level, context_state): Make these globals

static.
This commit is contained in:
Joel E. Denny
2006-08-14 21:06:05 +00:00
parent 47aee066cc
commit 2d2c1a2dec
2 changed files with 7 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
2006-08-14 Joel E. Denny <jdenny@ces.clemson.edu>
* src/scan-gram.l (braces_level, context_state): Make these globals
static.
2006-08-14 Joel E. Denny <jdenny@ces.clemson.edu>
In the grammar scanner, STRING_FINISH unclosed constructs and return

View File

@@ -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);