Lines Matching refs:errorlog
3044 debuglog=None, errorlog = None, picklefile=None): argument
3053 if errorlog is None:
3054 errorlog = PlyLogger(sys.stderr)
3064 pinfo = ParserReflect(pdict,log=errorlog)
3088 errorlog.warning("There was a problem loading the table file: %s", repr(e))
3091 errorlog.warning(str(e))
3111 errorlog.warning("no p_error() function is defined")
3122 errorlog.warning("%s",str(e))
3131 errorlog.error("%s",str(e))
3142 errorlog.error(str(e))
3151 …errorlog.error("%s:%d: Symbol '%s' used, but not defined as a token or a rule",prod.file,prod.line…
3160 errorlog.warning("Token '%s' defined, but not used", term)
3174 errorlog.warning("%s:%d: Rule '%s' defined, but not used", prod.file, prod.line, prod.name)
3177 errorlog.warning("There is 1 unused token")
3179 errorlog.warning("There are %d unused tokens", len(unused_terminals))
3182 errorlog.warning("There is 1 unused rule")
3184 errorlog.warning("There are %d unused rules", len(unused_rules))
3207 errorlog.warning("Symbol '%s' is unreachable",u)
3211 errorlog.error("Infinite recursion detected for symbol '%s'", inf)
3216 errorlog.error("Precedence rule '%s' defined for unknown symbol '%s'", assoc, term)
3224 errorlog.debug("Generating %s tables", method)
3233 errorlog.warning("1 shift/reduce conflict")
3235 errorlog.warning("%d shift/reduce conflicts", num_sr)
3239 errorlog.warning("1 reduce/reduce conflict")
3241 errorlog.warning("%d reduce/reduce conflicts", num_rr)
3258 … errorlog.warning("reduce/reduce conflict in state %d resolved using rule (%s)", state, rule)
3259 errorlog.warning("rejected rule (%s) in state %d", rejected, state)
3266 errorlog.warning("Rule (%s) is never reduced", rejected)