Skip to content

Commit 8983d0c

Browse files
committed
Remove ErrorSymbolValue reference
I cannot find where this is defined. I'm guessing neither this nor the else branch is ever hit. I only found out when testing VM changes, which had a bug that exposed this.
1 parent 80f13d6 commit 8983d0c

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

lib/racc/grammar.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -993,10 +993,6 @@ def initialize(value, dummyp)
993993
@to_s = '$end'
994994
@serialized = 'false'
995995
@string = false
996-
when ErrorSymbolValue
997-
@to_s = 'error'
998-
@serialized = 'Object.new'
999-
@string = false
1000996
else
1001997
raise ArgumentError, "unknown symbol value: #{value.class}"
1002998
end

0 commit comments

Comments
 (0)