X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/34f98f46ee16dd3719d19e002dc27b2665a2514f..08bc0013066a7ea8cd4216d66181b70918d2e614:/src/scan-gram.l diff --git a/src/scan-gram.l b/src/scan-gram.l index 25796dbd..d5d92c4c 100644 --- a/src/scan-gram.l +++ b/src/scan-gram.l @@ -54,7 +54,7 @@ code_start = scanner_cursor = loc->start; \ /* Location of scanner cursor. */ -boundary scanner_cursor; +static boundary scanner_cursor; #define YY_USER_ACTION location_compute (loc, &scanner_cursor, yytext, yyleng); @@ -243,8 +243,6 @@ splice (\\[ \f\t\v]*\n)* /* Code in between braces. */ "{" { - if (current_rule && current_rule->action) - grammar_midrule_action (); STRING_GROW; braces_level = 0; code_start = loc->start;