Lines Matching refs:PDDMError
135 class PDDMError(Exception): class
212 raise PDDMError('Attempt to redefine macro: "%s"' % line)
218 raise PDDMError('Got DEFINE-END directive without an active macro:'
222 raise PDDMError('Hit a line with an unknown directive: "%s"' % line)
232 raise PDDMError('Hit a line that wasn\'t a directive and no open macro'
241 raise PDDMError('Failed to parse macro definition: "%s"' % input_line)
249 raise PDDMError('Empty arg name in macro definition: "%s"'
252 raise PDDMError('Invalid arg name "%s" in macro definition: "%s"'
255 raise PDDMError('Arg name "%s" used more than once in macro'
274 raise PDDMError('Failed to parse macro reference: "%s"' % macro_ref_str)
276 raise PDDMError('No macro named "%s".' % match.group('name'))
291 raise PDDMError('Found macro recusion, invoking "%s":%s' %
299 raise PDDMError('Expected %d args, got: "%s".%s' %
344 raise PDDMError('Unknown arg option "%s$%s" while expanding "%s".%s'
463 raise PDDMError('Ran into directive ("%s", line %d) while in "%s".' %
469 raise PDDMError('Hit the end of the file while in "%s".' %
493 except PDDMError as e:
494 raise PDDMError('%s\n...while expanding "%s" from the section'
520 raise PDDMError('Ran into directive ("%s", line %d) while in "%s".' %
530 except PDDMError as e:
531 raise PDDMError('%s\n...while parsing section that started:\n'
553 raise PDDMError('Got an IMPORT-DEFINES without a resolver (line %d):'
558 raise PDDMError('Resolver failed to find "%s" (line %d):'
566 except PDDMError as e:
567 raise PDDMError('%s\n...while importing defines:\n'
601 raise PDDMError('Unexpected line %d: "%s".' % (line_num, line))
669 except PDDMError as e: