method
on_error
on_error(t, val, vstack)
private
Hide source
# File lib/racc/parser.rb, line 348 def on_error(t, val, vstack) raise ParseError, sprintf("\nparse error on value %s (%s)", val.inspect, token_to_str(t) || '?') end