Lines Matching refs:line_num
386 def TryAppend(self, line, line_num): argument
441 def TryAppend(self, line, line_num): argument
454 def TryAppend(self, line, line_num): argument
464 (directive, line_num, self.first_line))
512 def TryAppend(self, line, line_num): argument
521 (directive, line_num, self.first_line))
542 def TryAppend(self, line, line_num): argument
575 for line_num, line in enumerate(lines, 1):
577 cur_section = self._MakeSection(line, line_num)
578 was_added, accept_more = cur_section.TryAppend(line, line_num)
580 cur_section = self._MakeSection(line, line_num)
581 was_added, accept_more = cur_section.TryAppend(line, line_num)
589 def _MakeSection(self, line, line_num): argument
591 section = self.TextSection(line_num)
595 section = self.ExpansionSection(line_num)
597 section = self.DefinitionSection(line_num)
599 section = self.ImportDefinesSection(line_num, self._import_resolver)
601 raise PDDMError('Unexpected line %d: "%s".' % (line_num, line))