Lines Matching refs:errorlog
3038 debuglog=None, errorlog = None, picklefile=None): argument
3047 if errorlog is None:
3048 errorlog = PlyLogger(sys.stderr)
3058 pinfo = ParserReflect(pdict,log=errorlog)
3082 errorlog.warning("There was a problem loading the table file: %s", repr(e))
3085 errorlog.warning(str(e))
3105 errorlog.warning("no p_error() function is defined")
3116 errorlog.warning("%s",str(e))
3125 errorlog.error("%s",str(e))
3136 errorlog.error(str(e))
3145 …errorlog.error("%s:%d: Symbol '%s' used, but not defined as a token or a rule",prod.file,prod.line…
3154 errorlog.warning("Token '%s' defined, but not used", term)
3168 errorlog.warning("%s:%d: Rule '%s' defined, but not used", prod.file, prod.line, prod.name)
3171 errorlog.warning("There is 1 unused token")
3173 errorlog.warning("There are %d unused tokens", len(unused_terminals))
3176 errorlog.warning("There is 1 unused rule")
3178 errorlog.warning("There are %d unused rules", len(unused_rules))
3201 errorlog.warning("Symbol '%s' is unreachable",u)
3205 errorlog.error("Infinite recursion detected for symbol '%s'", inf)
3210 errorlog.error("Precedence rule '%s' defined for unknown symbol '%s'", assoc, term)
3218 errorlog.debug("Generating %s tables", method)
3227 errorlog.warning("1 shift/reduce conflict")
3229 errorlog.warning("%d shift/reduce conflicts", num_sr)
3233 errorlog.warning("1 reduce/reduce conflict")
3235 errorlog.warning("%d reduce/reduce conflicts", num_rr)
3252 … errorlog.warning("reduce/reduce conflict in state %d resolved using rule (%s)", state, rule)
3253 errorlog.warning("rejected rule (%s) in state %d", rejected, state)
3260 errorlog.warning("Rule (%s) is never reduced", rejected)