Skip to content

Commit

Permalink
Remove warning from tools/munge.rb
Browse files Browse the repository at this point in the history
[git-p4: depot-paths = "//src/ruby_parser/dev/": change = 13013]
  • Loading branch information
zenspider committed Jan 30, 2021
1 parent 77f0efd commit 03cc8a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/munge.rb
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,8 @@ def munge s
puts line.gsub("true", "1").gsub("false", "0")
when /^lex_state: :?([\w|]+) -> :?([\w|]+)(?: (?:at|from) (.*))?/ then
a, b, c = $1.upcase, $2.upcase, $3
a.gsub! /EXPR_/, ""
b.gsub! /EXPR_/, ""
a.gsub!(/EXPR_/, "")
b.gsub!(/EXPR_/, "")
if c && $v then
puts "lex_state: #{a} -> #{b} at #{c}"
else
Expand Down

0 comments on commit 03cc8a9

Please sign in to comment.