Searched refs:GrammarError (Results 1 - 1 of 1) sorted by relevance

/gem5/ext/ply/ply/
H A Dyacc.py1312 class GrammarError(YaccError): pass class in inherits:YaccError
1368 raise GrammarError("Precedence already specified for terminal '%s'" % term)
1370 raise GrammarError("Associativity must be one of 'left','right', or 'nonassoc'")
1393 raise GrammarError("%s:%d: Illegal rule name '%s'. Already defined as a token" % (file,line,prodname))
1395 raise GrammarError("%s:%d: Illegal rule name '%s'. error is a reserved word" % (file,line,prodname))
1397 raise GrammarError("%s:%d: Illegal rule name '%s'" % (file,line,prodname))
1405 raise GrammarError("%s:%d: Literal token %s in rule '%s' may only be a single character" % (file,line,s, prodname))
1413 raise GrammarError("%s:%d: Illegal name '%s' in rule '%s'" % (file,line,s, prodname))
1418 raise GrammarError("%s:%d: Syntax error. Nothing follows %%prec" % (file,line))
1420 raise GrammarError("
[all...]

Completed in 9 milliseconds