Home
last modified time | relevance | path

Searched refs:parser_error (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Modules/
Dparsermodule.c186 parser_error = 0; variable
558 PyErr_SetString(parser_error, message); in err_string()
655 PyErr_Format(parser_error, "Unrecognized node type %d.", TYPE(tree)); in validate_node()
688 PyErr_Format(parser_error, "Expected node type %d, got %d.", in validate_node()
691 PyErr_Format(parser_error, "Illegal terminal: expected %s.", in validate_node()
707 PyErr_Format(parser_error, in validate_node()
838 PyErr_SetObject(parser_error, err); in build_node_children()
859 PyErr_Format(parser_error, in build_node_children()
885 PyErr_Format(parser_error, in build_node_children()
918 PyErr_SetObject(parser_error, err); in build_node_children()
[all …]
/external/python/cpython2/Modules/
Dparsermodule.c160 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()
[all …]