Home | History | Annotate | Download | only in ply

Lines Matching defs:warning

53 # :::::::: WARNING :::::::
118 def warning(self, msg, *args, **kwargs):
119 self.f.write('WARNING: ' + (msg % args) + '\n')
1505 # a warning about unused precedence rules.
3018 self.log.warning('%s:%d: Function %s redefined. Previously defined on line %d',
3088 self.log.warning('Token %r multiply defined', n)
3170 self.log.warning('%s:%d: No documentation string specified in function %r (ignored)',
3194 self.log.warning('%r not defined as a function', n)
3201 self.log.warning('%s:%d: Possible grammar rule %r defined without p_ prefix',
3295 errorlog.warning('There was a problem loading the table file: %r', e)
3297 errorlog.warning(str(e))
3306 errorlog.warning("Couldn't open %r. %s" % (debugfile, e))
3320 errorlog.warning
3330 errorlog.warning('%s', e)
3366 errorlog.warning('Token %r defined, but not used', term)
3380 errorlog.warning('%s:%d: Rule %r defined, but not used', prod.file, prod.line, prod.name)
3383 errorlog.warning('There is 1 unused token')
3385 errorlog.warning('There are %d unused tokens', len(unused_terminals))
3388 errorlog.warning('There is 1 unused rule')
3390 errorlog.warning('There are %d unused rules', len(unused_rules))
3413 errorlog.warning('Symbol %r is unreachable', u)
3439 errorlog.warning('1 shift/reduce conflict')
3441 errorlog.warning('%d shift/reduce conflicts', num_sr)
3445 errorlog.warning('1 reduce/reduce conflict')
3447 errorlog.warning('%d reduce/reduce conflicts', num_rr)
3451 debuglog.warning('')
3452 debuglog.warning('Conflicts:')
3453 debuglog.warning('')
3456 debuglog.warning('shift/reduce conflict for %s in state %d resolved as %s', tok, state, resolution)
3462 debuglog.warning('reduce/reduce conflict in state %d resolved using rule (%s)', state, rule)
3463 debuglog.warning('rejected rule (%s) in state %d', rejected, state)
3464 errorlog.warning('reduce/reduce conflict in state %d resolved using rule (%s)', state, rule)
3465 errorlog.warning('rejected rule (%s) in state %d', rejected, state)
3471 debuglog.warning('Rule (%s) is never reduced', rejected)
3472 errorlog.warning('Rule (%s) is never reduced', rejected)
3480 errorlog.warning("Couldn't create %r. %s" % (tabmodule, e))
3487 errorlog.warning("Couldn't create %r. %s" % (picklefile, e))