From b6f4cb03eb6c771c5eb0492aba3782a9ea922130 Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Tue, 23 Feb 2010 00:34:17 +0000 Subject: more turtle svg cleanups --- (limited to 'taconstants.py') 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', -- cgit v0.9.1