Lines Matching refs:directive
208 directive = line.split(' ', 1)[0]
209 if directive == 'PDDM-DEFINE':
216 if directive == 'PDDM-DEFINE-END':
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'
456 directive = line.split(' ', 1)[0]
457 if directive == '//%PDDM-EXPAND':
460 if directive == '//%PDDM-EXPAND-END':
463 raise PDDMError('Ran into directive ("%s", line %d) while in "%s".' %
464 (directive, line_num, self.first_line))
516 directive = line.split(' ', 1)[0]
517 if directive == "//%PDDM-EXPAND":
519 if directive not in ('//%PDDM-DEFINE', '//%PDDM-DEFINE-END'):
520 raise PDDMError('Ran into directive ("%s", line %d) while in "%s".' %
521 (directive, line_num, self.first_line))
593 directive = line.split(' ', 1)[0]
594 if directive == '//%PDDM-EXPAND':
596 elif directive == '//%PDDM-DEFINE':
598 elif directive == '//%PDDM-IMPORT-DEFINES':