summaryrefslogtreecommitdiff
path: root/js/Branching/GOTO.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Branching/GOTO.js')
-rw-r--r--js/Branching/GOTO.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Branching/GOTO.js b/js/Branching/GOTO.js
index abed8429..e3532daf 100644
--- a/js/Branching/GOTO.js
+++ b/js/Branching/GOTO.js
@@ -14,7 +14,7 @@ function GOTO() {
this.model.blocktype = new ScilabString(["c"]);
this.model.dep_ut = new ScilabDouble([false,false]);
var exprs = [["A"],[sci2exp(1)]];
- var gr_i = [];
+ var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"GOTO\",sz(1),sz(2));"]);
this.x = standard_define([2,1],this.model,exprs,gr_i);
this.x.graphics.id = "Goto";
return new BasicBlock(this.x);