Lines Matching refs:parser_error
160 parser_error = 0; variable
551 PyErr_SetString(parser_error, message); in err_string()
769 PyErr_SetObject(parser_error, err); in build_node_children()
789 PyErr_Format(parser_error, in build_node_children()
807 PyErr_Format(parser_error, in build_node_children()
835 PyErr_SetObject(parser_error, err); in build_node_children()
889 PyErr_SetObject(parser_error, tuple); in build_node_tree()
902 PyErr_SetString(parser_error, "missed encoding"); in build_node_tree()
906 PyErr_Format(parser_error, in build_node_tree()
951 PyErr_SetObject(parser_error, err); in build_node_tree()
1028 PyErr_Format(parser_error, "Expected node type %d, got %d.", in validate_ntype()
1047 PyErr_Format(parser_error, in validate_numnodes()
1062 PyErr_Format(parser_error, in validate_terminal()
1624 PyErr_Format(parser_error, in validate_small_stmt()
1658 PyErr_Format(parser_error, in validate_compound_stmt()
2007 PyErr_Format(parser_error, in validate_import_stmt()
2155 PyErr_Format(parser_error, in validate_try()
2342 PyErr_Format(parser_error, in validate_comp_op()
3481 if (parser_error == 0) in initparser()
3482 parser_error = PyErr_NewException("parser.ParserError", NULL, NULL); in initparser()
3484 if (parser_error == 0) in initparser()
3493 Py_INCREF(parser_error); in initparser()
3494 if (PyModule_AddObject(module, "ParserError", parser_error) != 0) in initparser()