Skip to content

Commit

Permalink
Merge pull request #176 from yui-knk/remove_build_references
Browse files Browse the repository at this point in the history
Do not need to call `#build_references` in `#build_code`
  • Loading branch information
yui-knk authored Nov 3, 2023
2 parents 52a385b + 1221480 commit bc93c70
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/lrama/grammar.rb
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ def build_references(token_code)
end

def build_code(type, token_code)
build_references(token_code)
Code.new(type: type, token_code: token_code)
end

Expand Down

0 comments on commit bc93c70

Please sign in to comment.