summaryrefslogtreecommitdiff
path: root/gerber/gerber_statements.py
diff options
context:
space:
mode:
authorHamilton Kibbe <hamilton.kibbe@gmail.com>2015-01-26 22:16:00 -0500
committerHamilton Kibbe <hamilton.kibbe@gmail.com>2015-01-26 22:17:09 -0500
commitc054136a6531404e3b20aadbc7fba2ec25b50a4a (patch)
tree963e7cb27bfdbe016adad5a4f238d5853ff293da /gerber/gerber_statements.py
parent2586692a1700dcdcae65ed8342e36bb0dd01c166 (diff)
downloadgerbonara-c054136a6531404e3b20aadbc7fba2ec25b50a4a.tar.gz
gerbonara-c054136a6531404e3b20aadbc7fba2ec25b50a4a.tar.bz2
gerbonara-c054136a6531404e3b20aadbc7fba2ec25b50a4a.zip
Added some tests
Diffstat (limited to 'gerber/gerber_statements.py')
-rw-r--r--gerber/gerber_statements.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/gerber/gerber_statements.py b/gerber/gerber_statements.py
index 83ae143..3419948 100644
--- a/gerber/gerber_statements.py
+++ b/gerber/gerber_statements.py
@@ -251,8 +251,8 @@ class ADParamStmt(ParamStmt):
Returns
-------
- ParamStmt : LPParamStmt
- Initialized LPParamStmt class.
+ ParamStmt : ADParamStmt
+ Initialized ADParamStmt class.
"""
ParamStmt.__init__(self, param)
@@ -389,6 +389,7 @@ class AMParamStmt(ParamStmt):
"""
ParamStmt.__init__(self, param)
self.name = name
+ self.macro = macro
self.primitives = self._parsePrimitives(macro)
def _parsePrimitives(self, macro):