diff options
author | Paulo Henrique Silva <ph.silva@gmail.com> | 2014-10-26 21:39:51 -0200 |
---|---|---|
committer | Hamilton Kibbe <hamilton.kibbe@gmail.com> | 2014-10-26 22:36:47 -0400 |
commit | 76abd9e3f8c8a77e589fd72548ff35cedb5a769d (patch) | |
tree | 4b725c368b53c590e6306b4a9049cfda5c2afd1b /gerber/rs274x.py | |
parent | b5f8451c8f37acf9148bbd09f3326eb5aba3e053 (diff) | |
download | gerbonara-76abd9e3f8c8a77e589fd72548ff35cedb5a769d.tar.gz gerbonara-76abd9e3f8c8a77e589fd72548ff35cedb5a769d.tar.bz2 gerbonara-76abd9e3f8c8a77e589fd72548ff35cedb5a769d.zip |
Fix parsing of Unknown commands
Diffstat (limited to 'gerber/rs274x.py')
-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): |