diff options
author | Marion <marion.zepf@gmail.com> | 2013-09-08 14:12:50 (GMT) |
---|---|---|
committer | Marion <marion.zepf@gmail.com> | 2013-09-08 14:12:50 (GMT) |
commit | dfebf0be36908618c3b23839557dea93810b1198 (patch) | |
tree | 1e9e57273127cbc23e3847e6d3df2427201fdfc1 /TurtleArt/taexportpython.py | |
parent | 7fe3c377a730a75e15b5d7c23c7ba2f746e0396c (diff) |
Primitives for all constant blocks (add screen dimensions, update colors)
- Use the get() method of the CONSTANTS dict to retrieve the values of
constants, but export it as CONSTANTS['key'].
- Introduce the new class TypedSubscript for Subscript ASTs with a type.
Diffstat (limited to 'TurtleArt/taexportpython.py')
-rw-r--r-- | TurtleArt/taexportpython.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/TurtleArt/taexportpython.py b/TurtleArt/taexportpython.py index db00add..d41ec98 100644 --- a/TurtleArt/taexportpython.py +++ b/TurtleArt/taexportpython.py @@ -136,6 +136,7 @@ def _walk_action_stack(top_block, lc, convert_me=True): block = top_block # value blocks don't have a primitive + # (but constant blocks (colors, screen dimensions, etc.) do) if block.is_value_block(): raw_value = block.get_value(add_type_prefix=False) if convert_me: |