mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
remove unused local variable beg in parser_yylex
This commit is contained in:
committed by
Masaki Muranaka
parent
801bc9e39e
commit
6611c18c5b
+2
-2
@@ -4573,7 +4573,7 @@ parser_yylex(parser_state *p)
|
||||
|
||||
case '%':
|
||||
if (IS_BEG()) {
|
||||
int beg = 0, term;
|
||||
int term;
|
||||
int paren;
|
||||
|
||||
c = nextc(p);
|
||||
@@ -4583,7 +4583,7 @@ parser_yylex(parser_state *p)
|
||||
c = 'Q';
|
||||
}
|
||||
else {
|
||||
beg = term = nextc(p);
|
||||
term = nextc(p);
|
||||
if (isalnum(term)) {
|
||||
yyerror(p, "unknown type of %string");
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user