diff options
author | jaseg <git@jaseg.de> | 2022-02-03 19:57:16 +0100 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2022-02-03 19:57:16 +0100 |
commit | eaf4f21ce65081da0490a41ee1829b4ec8319109 (patch) | |
tree | 07e97aa74f950e0484c4f74ae4d8e02b93377fce /gerbonara/aperture_macros/parse.py | |
parent | ac66fd9d6b3561c1a0fb52ac2e196157bcf5f4fd (diff) | |
download | gerbonara-eaf4f21ce65081da0490a41ee1829b4ec8319109.tar.gz gerbonara-eaf4f21ce65081da0490a41ee1829b4ec8319109.tar.bz2 gerbonara-eaf4f21ce65081da0490a41ee1829b4ec8319109.zip |
More doc
Diffstat (limited to 'gerbonara/aperture_macros/parse.py')
-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) + |