summaryrefslogtreecommitdiff
path: root/gerber/rs274x.py
diff options
context:
space:
mode:
authorPaulo Henrique Silva <ph.silva@gmail.com>2015-03-05 14:43:30 -0300
committerPaulo Henrique Silva <ph.silva@gmail.com>2015-03-05 14:43:30 -0300
commita13b981c1c2ea9ede39e9821d9ba818566f044de (patch)
treed7e1507bd389623e077da0d497b419edcfd9e53f /gerber/rs274x.py
parent670d3fbbd7ebfb69bd223ac30b73ec47b195b380 (diff)
downloadgerbonara-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.py2
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