Searched refs:LexError (Results 1 – 1 of 1) sorted by relevance
47 class LexError(Exception): class306 raise LexError("%s:%d: Rule '%s' returned an unknown token type '%s'" % (335 … raise LexError("Scanning error. Illegal character '%s'" % (lexdata[lexpos]), lexdata[lexpos:])341 … raise LexError("Illegal character '%s' at index %d" % (lexdata[lexpos],lexpos), lexdata[lexpos:])