Lines Matching refs:parser_error
182 parser_error = 0; variable
554 PyErr_SetString(parser_error, message); in err_string()
652 PyErr_Format(parser_error, "Unrecognized node type %d.", TYPE(tree)); in validate_node()
667 PyErr_Format(parser_error, "Unrecognized node type %d.", ch_type); in validate_node()
704 PyErr_Format(parser_error, "Expected %s, got %s.", in validate_node()
710 PyErr_Format(parser_error, "Illegal terminal: expected '%s'.", in validate_node()
714 PyErr_Format(parser_error, "Illegal terminal: expected %s.", in validate_node()
731 PyErr_Format(parser_error, in validate_node()
862 PyErr_SetObject(parser_error, err); in build_node_children()
883 PyErr_Format(parser_error, in build_node_children()
909 PyErr_Format(parser_error, in build_node_children()
942 PyErr_SetObject(parser_error, err); in build_node_children()
996 PyErr_SetObject(parser_error, tuple); in build_node_tree()
1009 PyErr_SetString(parser_error, "missed encoding"); in build_node_tree()
1013 PyErr_Format(parser_error, in build_node_tree()
1065 PyErr_SetObject(parser_error, err); in build_node_tree()
1168 if (parser_error == 0) in PyInit_parser()
1169 parser_error = PyErr_NewException("parser.ParserError", NULL, NULL); in PyInit_parser()
1171 if (parser_error == 0) in PyInit_parser()
1179 Py_INCREF(parser_error); in PyInit_parser()
1180 if (PyModule_AddObject(module, "ParserError", parser_error) != 0) in PyInit_parser()