diff options
Diffstat (limited to 'gerbonara/aperture_macros')
-rw-r--r-- | gerbonara/aperture_macros/parse.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gerbonara/aperture_macros/parse.py b/gerbonara/aperture_macros/parse.py index 0fa936f..a679247 100644 --- a/gerbonara/aperture_macros/parse.py +++ b/gerbonara/aperture_macros/parse.py @@ -140,7 +140,7 @@ class ApertureMacro: return dup -cons, var = ConstantExpression, VariableExpression +var = VariableExpression deg_per_rad = 180 / math.pi class GenericMacros: @@ -179,3 +179,4 @@ if __name__ == '__main__': for primitive in parse_macro(sys.stdin.read(), 'mm'): print(primitive) + |