Lines Matching refs:YaccError
79 class YaccError(Exception): pass
166 raise YaccError("Can't instantiate Parser. Use yacc() instead.")
1761 raise YaccError("Hosed in lr_parse_table").with_traceback(e)
2031 raise YaccError("module does not define a list 'tokens'")
2033 raise YaccError("tokens must be a list or tuple.")
2039 raise YaccError("require must be a dictionary.")
2057 raise YaccError("Illegal token name")
2070 raise YaccError("precedence must be a list or tuple.")
2086 raise YaccError("'p_error' defined, but is not a function or method.")
2092 raise YaccError("%s:%d: p_error() requires 1 argument." % (efile,eline))
2105 raise YaccError("no rules of the form p_rulename are defined.")
2125 raise YaccError("Unable to construct parser.")
2138 raise YaccError("Bad starting symbol '%s'" % start)
2146 raise YaccError("Unable to construct parser.")
2155 raise YaccError("Unknown parsing method '%s'" % method)
2213 YaccError("yacc: No parser built with yacc()")