Skip to content

Commit

Permalink
Returned value is not used
Browse files Browse the repository at this point in the history
  • Loading branch information
yui-knk committed Jan 6, 2024
1 parent 622aaf0 commit a550a7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/lrama/grammar/rule_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def process_rhs(parameterizing_rule_resolver)
parameterizing_rule.rhs_list.each do |r|
rule_builder = RuleBuilder.new(@rule_counter, @midrule_action_counter, i, lhs_tag: token.lhs_tag, skip_preprocess_references: true)
rule_builder.lhs = new_token
r.symbols.map { |sym| rule_builder.add_rhs(binding.resolve_symbol(sym)) }
r.symbols.each { |sym| rule_builder.add_rhs(binding.resolve_symbol(sym)) }
rule_builder.line = line
rule_builder.user_code = r.user_code
rule_builder.precedence_sym = r.precedence_sym
Expand Down

0 comments on commit a550a7f

Please sign in to comment.