mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Removed duplicate assignment
This `last_state` is set to `lex.state` just before the `switch` statement, and `token_flush` nor `nextc` never change the state.
This commit is contained in:
parent
57b8ca21f1
commit
49cad67635
1 changed files with 0 additions and 1 deletions
1
parse.y
1
parse.y
|
|
@ -8845,7 +8845,6 @@ parser_yylex(struct parser_params *p)
|
|||
return '=';
|
||||
|
||||
case '<':
|
||||
last_state = p->lex.state;
|
||||
c = nextc(p);
|
||||
if (c == '<' &&
|
||||
!IS_lex_state(EXPR_DOT | EXPR_CLASS) &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue