Searched refs:tokname (Results 1 – 6 of 6) sorted by relevance
684 states, tokname = _statetoken(f, self.stateinfo)685 self.toknames[f] = tokname688 if tokname == 'error':691 elif tokname == 'eof':694 elif tokname == 'ignore':703 if tokname == 'ignore':709 elif tokname == 'error':738 tokname = self.toknames[fname]772 tokname = self.toknames[name]773 if tokname == 'error':[all …]
674 states, tokname = _statetoken(f,self.stateinfo)675 self.toknames[f] = tokname678 if tokname == 'error':681 elif tokname == 'ignore':690 if tokname == 'ignore':696 elif tokname == 'error':734 tokname = self.toknames[fname]769 tokname = self.toknames[name]770 if tokname == 'error':775 if not tokname in self.tokens and tokname.find("ignore_") < 0:[all …]
200 char *tokname(int n) in tokname() function
91 extern char *tokname(int);
92 #define RET(x) { if(dbg)printf("lex %s\n", tokname(x)); return(x); }