diff options
author | Paulo Henrique Silva <ph.silva@gmail.com> | 2015-03-05 14:43:30 -0300 |
---|---|---|
committer | Paulo Henrique Silva <ph.silva@gmail.com> | 2015-03-05 14:43:30 -0300 |
commit | a13b981c1c2ea9ede39e9821d9ba818566f044de (patch) | |
tree | d7e1507bd389623e077da0d497b419edcfd9e53f /gerber/rs274x.py | |
parent | 670d3fbbd7ebfb69bd223ac30b73ec47b195b380 (diff) | |
download | gerbonara-a13b981c1c2ea9ede39e9821d9ba818566f044de.tar.gz gerbonara-a13b981c1c2ea9ede39e9821d9ba818566f044de.tar.bz2 gerbonara-a13b981c1c2ea9ede39e9821d9ba818566f044de.zip |
Fix tests for macros with no variables.
All AM*Primitive classes now handles float for all but the code
modifiers. This simplifies the reading/parsing.
Diffstat (limited to 'gerber/rs274x.py')
-rw-r--r-- | gerber/rs274x.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gerber/rs274x.py b/gerber/rs274x.py index 69485a8..d2844c9 100644 --- a/gerber/rs274x.py +++ b/gerber/rs274x.py @@ -397,7 +397,7 @@ class GerberParser(object): # FIXME: not supported yet? pass else: - aperture = self.macros[shape].evaluate(modifiers) + aperture = self.macros[shape].build(modifiers) self.apertures[d] = aperture |