Skip to content

Commit

Permalink
Merge pull request ruby#275 from yui-knk/rename_var
Browse files Browse the repository at this point in the history
Rename local variable
  • Loading branch information
yui-knk authored Dec 1, 2023
2 parents 69537af + c3f9d0f commit e7779e1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions lib/lrama/parser.rb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions parser.y
Original file line number Diff line number Diff line change
Expand Up @@ -358,10 +358,10 @@ rule
}
"}" named_ref_opt
{
token = val[3]
token.alias_name = val[6]
user_code = val[3]
user_code.alias_name = val[6]
builder = val[0]
builder.user_code = token
builder.user_code = user_code
result = builder
}
| rhs "%prec" symbol
Expand Down

0 comments on commit e7779e1

Please sign in to comment.