diff options
author | Marko Živković <[email protected]> | 2014-11-03 21:47:05 +0000 |
---|---|---|
committer | Marko Živković <[email protected]> | 2014-11-03 21:47:05 +0000 |
commit | b12c21a1f4c88c70faa678f1b53d05383009f937 (patch) | |
tree | 401f90173ff7f0132c598290632e9ca093e9c2a2 /logo | |
parent | aaea31e6e5f0d6219cfedd9f000baebf39b339c6 (diff) |
Fixed bug caused by XLogo legacy code when "to ..." was entered in command line.
Removed code that would open the editor window.
git-svn-id: https://svn.code.sf.net/p/xlogo4schools/svn/trunk@10 3b0d7934-f7ef-4143-9606-b51f2e2281fd
Diffstat (limited to 'logo')
-rw-r--r-- | logo/build.xml | 2 | ||||
-rw-r--r-- | logo/src/xlogo/kernel/Interprete.java | 7 |
2 files changed, 6 insertions, 3 deletions
diff --git a/logo/build.xml b/logo/build.xml index 6903ad1..744b87a 100644 --- a/logo/build.xml +++ b/logo/build.xml @@ -35,7 +35,7 @@ <!-- Version for this Build --> - <property name="version" value="0.9.01beta-2014-06-12"/> + <property name="version" value="0.9.03beta-2014-11-03"/> <!-- ================================= diff --git a/logo/src/xlogo/kernel/Interprete.java b/logo/src/xlogo/kernel/Interprete.java index 291674f..897814b 100644 --- a/logo/src/xlogo/kernel/Interprete.java +++ b/logo/src/xlogo/kernel/Interprete.java @@ -630,7 +630,10 @@ public class Interprete instructionBuffer.deleteFirstWord(element); } // Si c'est le mot pour - else if (element_minuscule.equals(Logo.messages.getString("pour"))) + /** + * TODO : Marko: Removed this to not cause a crash when "to" is encountered in the command line + */ + /*else if (element_minuscule.equals(Logo.messages.getString("pour"))) { instructionBuffer.deleteFirstWord(element); if (instructionBuffer.getLength() != 0) @@ -666,7 +669,7 @@ public class Interprete app.editeur.setEditorStyledText(definition + "\n\n" + Logo.messages.getString("fin")); } } - } + }*/ else if (element.startsWith("\\l")) { if (operande) |