Home
last modified time | relevance | path

Searched refs:prodname (Results 1 – 1 of 1) sorted by relevance

/OK3568_Linux_fs/yocto/poky/bitbake/lib/ply/
H A Dyacc.py1392 def add_production(self,prodname,syms,func=None,file='',line=0): argument
1394 if prodname in self.Terminals:
1395 …se GrammarError("%s:%d: Illegal rule name '%s'. Already defined as a token" % (file,line,prodname))
1396 if prodname == 'error':
1397 …aise GrammarError("%s:%d: Illegal rule name '%s'. error is a reserved word" % (file,line,prodname))
1398 if not _is_identifier.match(prodname):
1399 raise GrammarError("%s:%d: Illegal rule name '%s'" % (file,line,prodname))
1407 …or("%s:%d: Literal token %s in rule '%s' may only be a single character" % (file,line,s, prodname))
1415 … raise GrammarError("%s:%d: Illegal name '%s' in rule '%s'" % (file,line,s, prodname))
1436 map = "%s -> %s" % (prodname,syms)
[all …]