# A parser error linked to a unexpected token
class NParserError
super NError
# The unexpected token
var token: nullable NToken = null
redef fun unexpected
do
var res = token.node_name
var text = token.text
if not text.is_empty and res != "'{text}'" then
res += " '{text.escape_to_c}'"
end
return res
end
end
lib/nitcc_runtime/nitcc_runtime.nit:535,1--551,3