Section containing macro definitions
Definition at line 509 of file pddm.py.
def pddm.SourceFile.DefinitionSection.TryAppend |
( |
|
self, |
|
|
|
line, |
|
|
|
line_num |
|
) |
| |
Try appending a line.
Args:
line: The line to append.
line_num: The number of the line.
Returns:
A tuple of (SUCCESS, CAN_ADD_MORE). If SUCCESS if False, the line
wasn't append. If SUCCESS is True, then CAN_ADD_MORE is True/False to
indicate if more lines can be added after this one.
Reimplemented from pddm.SourceFile.SectionBase.
Definition at line 512 of file pddm.py.