From 2d2c1a2decf4785a02315913cf52e45b5c1ac4f8 Mon Sep 17 00:00:00 2001 From: "Joel E. Denny" Date: Mon, 14 Aug 2006 21:06:05 +0000 Subject: [PATCH] * src/scan-gram.l (braces_level, context_state): Make these globals static. --- ChangeLog | 5 +++++ src/scan-gram.l | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8fa43858..c1980bbd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +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 9429c5f1..b6246cb7 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. */ - 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); -- 2.45.2