diff options
Diffstat (limited to 'tool')
-rw-r--r-- | tool/transcode-tblgen.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tool/transcode-tblgen.rb b/tool/transcode-tblgen.rb index dc1c4062e9..ec417ec5b0 100644 --- a/tool/transcode-tblgen.rb +++ b/tool/transcode-tblgen.rb @@ -731,7 +731,7 @@ def citrus_decode_mapsrc(ces, csid, mapsrcs) end f.each_line do |l| next if /^\s*(?:#|$)/ =~ l - break if /^END_MAP/ =~ l + break if /^END_MAP/ =~ l case mode when :from_ucs case l @@ -740,14 +740,14 @@ def citrus_decode_mapsrc(ces, csid, mapsrcs) when /(0x\w+)\s*=\s*(0x\w+)/ table.push << [plane | $1.hex, citrus_cstomb(ces, csid, $2.hex)] else - raise "unknown notation '%s'"% l + raise "unknown notation '%s'"% l.chomp end when :to_ucs case l when /(0x\w+)\s*=\s*(0x\w+)/ table.push << [citrus_cstomb(ces, csid, $1.hex), plane | $2.hex] else - raise "unknown notation '%s'"% l + raise "unknown notation '%s'"% l.chomp end end end |