Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/taconstants.py
diff options
context:
space:
mode:
authorWalter Bender <walter@walter-laptop.(none)>2010-02-23 00:34:17 (GMT)
committer Walter Bender <walter@walter-laptop.(none)>2010-02-23 00:34:17 (GMT)
commitb6f4cb03eb6c771c5eb0492aba3782a9ea922130 (patch)
tree7fbc7a99267dd0c73924f3b844e40f9613e19787 /taconstants.py
parent81f708694c8a9ca8fe25ed5fff4dccba64d48007 (diff)
more turtle svg cleanups
Diffstat (limited to 'taconstants.py')
-rw-r--r--taconstants.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/taconstants.py b/taconstants.py
index 0eea6aa..9c559f5 100644
--- a/taconstants.py
+++ b/taconstants.py
@@ -189,6 +189,7 @@ FLOW_STYLE = ['forever']
FLOW_STYLE_TAIL = ['hspace']
FLOW_STYLE_1ARG = ['repeat']
FLOW_STYLE_BOOLEAN = ['if', 'while', 'until']
+FLOW_STYLE_WHILE = ['while2']
FLOW_STYLE_ELSE = ['ifelse']
COLLAPSIBLE_TOP = ['sandwichtop']
COLLAPSIBLE_BOTTOM = ['sandwichbottom']
@@ -353,6 +354,7 @@ BLOCK_NAMES = {
'vspace':[' '],
'wait':[_('wait')],
'while':[_('while')],
+ 'while2':[_('while')],
'width':[_('width')],
'write':[_('write')],
'xcor':[_('xcor')],
@@ -470,6 +472,7 @@ PRIMITIVES = {
'topy':'topy',
'vspace':'nop',
'wait':'wait',
+ 'while2':'while',
'width':'hres',
'write':'write',
'xcor':'xcor',