Searched refs:BadExpectedToken (Results 1 – 1 of 1) sorted by relevance
/bionic/libc/kernel/tools/ |
D | cpp.py | 126 class BadExpectedToken(Exception): class 484 raise BadExpectedToken, "### BAD TOKEN: '%s' expecting '%s'" % (self.token.id,id) 489 …raise BadExpectedToken, "### BAD LINENO: token '%s' got '%d' expecting '%d'" % (id,self.token.lin… 491 raise BadExpectedToken, "### BAD COLNO: '%d' expecting '%d'" % (self.token.colno,col) 496 raise BadExpectedToken, "### BAD VALUE: '%s' expecting '%s'" % (self.token.value,value) 612 …self.throw(BadExpectedToken,self.i,"### expecting '%s' in expression, got '%s'" % (id, self.tok[se… 619 …self.throw(BadExpectedToken, self.i,"### expecting identifier in expression, got '%s'" % (id, self… 794 … self.throw(BadExpectedToken, "didn't expect to see a %s in factor" % (self.tok[self.i].id)) 1651 raise BadExpectedToken, "parser.buildBlocks returned '%s' expecting '%s'" \ 1655 raise BadExpectedToken, "parser.buildBlocks()[%d] is '%s', expecting '%s'" \
|