Lines Matching defs:yacc
2 # ply: yacc.py
68 # Change these to modify the default behavior of yacc (if you wish)
71 yaccdebug = 1 # Debugging mode. If set, yacc generates a
80 yaccdevel = 0 # Set to True if developing yacc. This turns off optimized
139 # Exception raised for yacc-related errors
534 sys.stderr.write("yacc: Syntax error at line %d, token=%s\n" % (lineno, errtoken.type))
536 sys.stderr.write("yacc: Syntax error, token=%s" % errtoken.type)
538 sys.stderr.write("yacc: Parse error in input. EOF\n")
586 raise RuntimeError("yacc: internal parser error!!!\n")
807 sys.stderr.write("yacc: Syntax error at line %d, token=%s\n" % (lineno, errtoken.type))
809 sys.stderr.write("yacc: Syntax error, token=%s" % errtoken.type)
811 sys.stderr.write("yacc: Parse error in input. EOF\n")
859 raise RuntimeError("yacc: internal parser error!!!\n")
1062 sys.stderr.write("yacc: Syntax error at line %d, token=%s\n" % (lineno, errtoken.type))
1064 sys.stderr.write("yacc: Syntax error, token=%s" % errtoken.type)
1066 sys.stderr.write("yacc: Parse error in input. EOF\n")
1114 raise RuntimeError("yacc: internal parser error!!!\n")
1833 raise VersionError("yacc table file version is out of date")
1855 raise VersionError("yacc table file version is out of date")
2691 # introspection features followed by the yacc() function itself.
2699 # associated with the yacc() call if none was provided.
3031 # yacc(module)
3036 def yacc(method='LALR', debug=yaccdebug, module=None, tabmodule=tab_module, start=None,