diff options
-rw-r--r-- | gerber/rs274x.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gerber/rs274x.py b/gerber/rs274x.py index f18a35d..627fcf9 100644 --- a/gerber/rs274x.py +++ b/gerber/rs274x.py @@ -308,6 +308,10 @@ class GerberParser(object): if line.find('*') > 0: yield UnknownStmt(line) + did_something = True + line = "" + continue + oldline = line def evaluate(self, stmt): |