fix(parser_generator): Escape exceptions