From: Joel E. Denny Date: Mon, 14 Aug 2006 22:40:33 +0000 (+0000) Subject: Undo last commit. X-Git-Tag: v2.3b~309 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/5362ed19b6e8a8091345d979eefb4e11087b728f?ds=sidebyside Undo last commit. --- diff --git a/ChangeLog b/ChangeLog index c1980bbd..8fa43858 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,8 +1,3 @@ -2006-08-14 Joel E. Denny - - * src/scan-gram.l (braces_level, context_state): Make these globals - static. - 2006-08-14 Joel E. Denny In the grammar scanner, STRING_FINISH unclosed constructs and return diff --git a/src/scan-gram.l b/src/scan-gram.l index b6246cb7..9429c5f1 100644 --- a/src/scan-gram.l +++ b/src/scan-gram.l @@ -108,10 +108,10 @@ splice (\\[ \f\t\v]*\n)* %% %{ /* Nesting level of the current code in braces. */ - static int braces_level IF_LINT (= 0); + int braces_level IF_LINT (= 0); /* Parent context state, when applicable. */ - static int context_state IF_LINT (= 0); + int context_state IF_LINT (= 0); /* Location of most recent identifier, when applicable. */ location id_loc IF_LINT (= empty_location);