[ruby/racc] 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.

https://github.com/ruby/racc/commit/8983d0c134
This commit is contained in:
Jeremy Evans 2023-03-23 18:40:16 -07:00 committed by git
parent 18e55fc1e1
commit ec9364e500

View File

@ -993,10 +993,6 @@ module Racc
@to_s = '$end'
@serialized = 'false'
@string = false
when ErrorSymbolValue
@to_s = 'error'
@serialized = 'Object.new'
@string = false
else
raise ArgumentError, "unknown symbol value: #{value.class}"
end