mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-19 17:23:02 +00:00
* src/scan-gram.l (braces_level, context_state): Make these globals
static.
This commit is contained in:
@@ -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>
|
2006-08-14 Joel E. Denny <jdenny@ces.clemson.edu>
|
||||||
|
|
||||||
In the grammar scanner, STRING_FINISH unclosed constructs and return
|
In the grammar scanner, STRING_FINISH unclosed constructs and return
|
||||||
|
|||||||
@@ -108,10 +108,10 @@ splice (\\[ \f\t\v]*\n)*
|
|||||||
%%
|
%%
|
||||||
%{
|
%{
|
||||||
/* Nesting level of the current code in braces. */
|
/* 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. */
|
/* 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 of most recent identifier, when applicable. */
|
||||||
location id_loc IF_LINT (= empty_location);
|
location id_loc IF_LINT (= empty_location);
|
||||||
|
|||||||
Reference in New Issue
Block a user