Lines Matching defs:error
173 # error()
175 # Report a preprocessor error/warning of some kind
178 def error(self,file,line,msg):
338 self.error(self.source,tokenlist[0].lineno,"Missing '(' in macro arguments")
365 self.error(self.source,tokenlist[-1].lineno,"Missing ')' in macro arguments")
496 self.error(self.source,t.lineno,"Macro %s requires %d arguments" % (t.value,len(m.arglist)))
500 self.error(self.source,t.lineno,"Macro %s must have at least %d arguments" % (t.value, len(m.arglist)-1))
502 self.error(self.source,t.lineno,"Macro %s must have at least %d argument" % (t.value, len(m.arglist)-1))
559 self.error(self.source,tokens[i].lineno,"Malformed defined()")
585 self.error(self.source,tokens[0].lineno,"Couldn't evaluate expression")
687 self.error(self.source,dirtokens[0].lineno,"Misplaced #elif")
698 self.error(self.source,dirtokens[0].lineno,"Misplaced #else")
704 self.error(self.source,dirtokens[0].lineno,"Misplaced #endif")