Lines Matching refs:DataParseError
49 class DataParseError(SyntaxError): class
66 raise DataParseError("handler-style requires one argument")
69 raise DataParseError("handler-style (%s) invalid" % style)
82 raise DataParseError("handler-size requires one argument")
84 raise DataParseError("handler-size may only be set once")
94 raise DataParseError("handler-size (%d) must be power of 2" \
104 raise DataParseError("import requires one argument")
109 raise DataParseError("don't know how to import %s (expecting .cpp/.S)"
119 raise DataParseError("import requires one argument")
125 raise DataParseError("unable to load asm-stub: %s" % str(err))
135 raise DataParseError("import requires one argument")
141 raise DataParseError("unable to load fallback-stub: %s" % str(err))
150 raise DataParseError("import requires one argument")
179 raise DataParseError("opStart takes a directory name argument")
181 raise DataParseError("opStart can only be specified once")
192 raise DataParseError("alt requires exactly two arguments")
194 raise DataParseError("alt statements must be between opStart/opEnd")
198 raise DataParseError("unknown opcode %s" % tokens[1])
212 raise DataParseError("op requires exactly two arguments")
214 raise DataParseError("op statements must be between opStart/opEnd")
218 raise DataParseError("unknown opcode %s" % tokens[1])
231 raise DataParseError("opEnd takes no arguments")
233 raise DataParseError("opEnd must follow opStart, and only appear once")
243 raise DataParseError("alt-op can be specified only after op-end")
245 raise DataParseError("opEnd takes no arguments")
444 raise DataParseError("malformed %%include in %s" % source)
448 raise DataParseError("self-referential %%include in %s"
462 raise DataParseError("malformed %%default in %s" % source)
481 raise DataParseError("keyword substitution failed in %s: %s"
611 raise DataParseError, "unrecognized command '%s'" % tokens[0]
614 raise DataParseError, "handler-style must be first command"
615 except DataParseError, err: