summaryrefslogtreecommitdiff
path: root/js/Branching
diff options
context:
space:
mode:
authorSunil Shetye2018-06-16 01:15:39 +0530
committerSunil Shetye2018-06-16 01:15:39 +0530
commit418020939ae049c5e3a9a04bb1b35e2226d87c33 (patch)
treedfbd28e13383375b0f07c5e3250ee8143d2462ef /js/Branching
parent90718b8a70eb2644ab41f620b710ec9fb86af1bf (diff)
downloadsci2js-418020939ae049c5e3a9a04bb1b35e2226d87c33.tar.gz
sci2js-418020939ae049c5e3a9a04bb1b35e2226d87c33.tar.bz2
sci2js-418020939ae049c5e3a9a04bb1b35e2226d87c33.zip
replace in with in1
Diffstat (limited to 'js/Branching')
-rw-r--r--js/Branching/CLKGotoTagVisibility.js2
-rw-r--r--js/Branching/ESELECT_f.js2
-rw-r--r--js/Branching/EXTRACTOR.js2
-rw-r--r--js/Branching/FROM.js2
-rw-r--r--js/Branching/FROMMO.js2
-rw-r--r--js/Branching/GOTO.js2
-rw-r--r--js/Branching/GOTOMO.js2
-rw-r--r--js/Branching/GotoTagVisibility.js2
-rw-r--r--js/Branching/GotoTagVisibilityMO.js2
-rw-r--r--js/Branching/ISELECT_f.js2
-rw-r--r--js/Branching/ISELECT_m.js2
-rw-r--r--js/Branching/MUX.js2
-rw-r--r--js/Branching/MUX_f.js2
-rw-r--r--js/Branching/M_SWITCH.js2
-rw-r--r--js/Branching/NRMSOM_f.js2
-rw-r--r--js/Branching/RELAY_f.js2
-rw-r--r--js/Branching/SCALAR2VECTOR.js2
-rw-r--r--js/Branching/SELECT_f.js2
-rw-r--r--js/Branching/SELECT_m.js2
-rw-r--r--js/Branching/SWITCH2.js2
-rw-r--r--js/Branching/SWITCH2_m.js4
-rw-r--r--js/Branching/SWITCH_f.js2
22 files changed, 23 insertions, 23 deletions
diff --git a/js/Branching/CLKGotoTagVisibility.js b/js/Branching/CLKGotoTagVisibility.js
index 87acfbf7..b92fc17a 100644
--- a/js/Branching/CLKGotoTagVisibility.js
+++ b/js/Branching/CLKGotoTagVisibility.js
@@ -29,7 +29,7 @@ needcompile=resume(needcompile)
CLKGotoTagVisibility.prototype.define = function CLKGotoTagVisibility() {
model=scicos_model();
model.sim="clkgototagvisibility";
-model.in=[];
+model.in1=[];
model.in2=[];
model.out=[];
model.out2=[];
diff --git a/js/Branching/ESELECT_f.js b/js/Branching/ESELECT_f.js
index 04639136..33d1799b 100644
--- a/js/Branching/ESELECT_f.js
+++ b/js/Branching/ESELECT_f.js
@@ -48,7 +48,7 @@ ESELECT_f.prototype.define = function ESELECT_f() {
out=2;
model=scicos_model();
model.sim=list("eselect",-2);
-model.in=1;
+model.in1=1;
model.in2=1;
model.intyp=-1;
model.evtin=1;
diff --git a/js/Branching/EXTRACTOR.js b/js/Branching/EXTRACTOR.js
index da00552f..30dfdac8 100644
--- a/js/Branching/EXTRACTOR.js
+++ b/js/Branching/EXTRACTOR.js
@@ -28,7 +28,7 @@ EXTRACTOR.prototype.define = function EXTRACTOR() {
ind=1;
model=scicos_model();
model.sim=list("extractor",4);
-model.in=-1;
+model.in1=-1;
model.out=1;
model.blocktype="c";
model.dep_ut=[true,None];
diff --git a/js/Branching/FROM.js b/js/Branching/FROM.js
index 6596f751..1d30488e 100644
--- a/js/Branching/FROM.js
+++ b/js/Branching/FROM.js
@@ -29,7 +29,7 @@ needcompile=resume(needcompile)
FROM.prototype.define = function FROM() {
model=scicos_model();
model.sim="from";
-model.in=[];
+model.in1=[];
model.in2=[];
model.intyp=1;
model.out=-1;
diff --git a/js/Branching/FROMMO.js b/js/Branching/FROMMO.js
index 81914673..4d05df90 100644
--- a/js/Branching/FROMMO.js
+++ b/js/Branching/FROMMO.js
@@ -29,7 +29,7 @@ needcompile=resume(needcompile)
FROMMO.prototype.define = function FROMMO() {
model=scicos_model();
model.sim="frommo";
-model.in=[];
+model.in1=[];
model.in2=[];
model.intyp=1;
model.out=-1;
diff --git a/js/Branching/GOTO.js b/js/Branching/GOTO.js
index 59694dfd..46623668 100644
--- a/js/Branching/GOTO.js
+++ b/js/Branching/GOTO.js
@@ -36,7 +36,7 @@ needcompile=resume(needcompile)
GOTO.prototype.define = function GOTO() {
model=scicos_model();
model.sim="goto";
-model.in=-1;
+model.in1=-1;
model.in2=-2;
model.intyp=-1;
model.out=[];
diff --git a/js/Branching/GOTOMO.js b/js/Branching/GOTOMO.js
index 866e5b2e..2b0f59bb 100644
--- a/js/Branching/GOTOMO.js
+++ b/js/Branching/GOTOMO.js
@@ -36,7 +36,7 @@ needcompile=resume(needcompile)
GOTOMO.prototype.define = function GOTOMO() {
model=scicos_model();
model.sim="gotomo";
-model.in=-1;
+model.in1=-1;
model.in2=-2;
model.intyp=[];
model.out=[];
diff --git a/js/Branching/GotoTagVisibility.js b/js/Branching/GotoTagVisibility.js
index bfd91c18..67e57ee9 100644
--- a/js/Branching/GotoTagVisibility.js
+++ b/js/Branching/GotoTagVisibility.js
@@ -29,7 +29,7 @@ needcompile=resume(needcompile)
GotoTagVisibility.prototype.define = function GotoTagVisibility() {
model=scicos_model();
model.sim="gototagvisibility";
-model.in=[];
+model.in1=[];
model.in2=[];
model.out=[];
model.out2=[];
diff --git a/js/Branching/GotoTagVisibilityMO.js b/js/Branching/GotoTagVisibilityMO.js
index 45e0a286..a6ba4fd4 100644
--- a/js/Branching/GotoTagVisibilityMO.js
+++ b/js/Branching/GotoTagVisibilityMO.js
@@ -29,7 +29,7 @@ needcompile=resume(needcompile)
GotoTagVisibilityMO.prototype.define = function GotoTagVisibilityMO() {
model=scicos_model();
model.sim="gototagvisibilitymo";
-model.in=[];
+model.in1=[];
model.in2=[];
model.out=[];
model.out2=[];
diff --git a/js/Branching/ISELECT_f.js b/js/Branching/ISELECT_f.js
index 60321a06..b8b47b51 100644
--- a/js/Branching/ISELECT_f.js
+++ b/js/Branching/ISELECT_f.js
@@ -32,7 +32,7 @@ out=[-1,-1];
nout=2;
model=scicos_model();
model.sim=list("selector",2);
-model.in=-1;
+model.in1=-1;
model.out=out;
model.evtin=ones(out);
model.dstate=z0;
diff --git a/js/Branching/ISELECT_m.js b/js/Branching/ISELECT_m.js
index 745401ac..6a2a2d6e 100644
--- a/js/Branching/ISELECT_m.js
+++ b/js/Branching/ISELECT_m.js
@@ -43,7 +43,7 @@ model.sim=list("selector_m",4);
model.out=[-1,-1];
model.out2=[-2,-2];
model.outtyp=1;
-model.in=-1;
+model.in1=-1;
model.in2=-2;
model.intyp=1;
model.evtout=[];
diff --git a/js/Branching/MUX.js b/js/Branching/MUX.js
index 32335170..44b17cf3 100644
--- a/js/Branching/MUX.js
+++ b/js/Branching/MUX.js
@@ -1,3 +1,3 @@
-Syntax error in input LexToken(IN,'in',1,1077)
+Syntax error in input LexToken(COLON,':',1,1548)
/* autogenerated from "macros/Branching/MUX.sci" */
None
diff --git a/js/Branching/MUX_f.js b/js/Branching/MUX_f.js
index 5a37f434..79353be5 100644
--- a/js/Branching/MUX_f.js
+++ b/js/Branching/MUX_f.js
@@ -1,3 +1,3 @@
-Syntax error in input LexToken(IN,'in',1,1079)
+Syntax error in input LexToken(COLON,':',1,1549)
/* autogenerated from "macros/Branching/MUX_f.sci" */
None
diff --git a/js/Branching/M_SWITCH.js b/js/Branching/M_SWITCH.js
index dc7ac82f..6d129024 100644
--- a/js/Branching/M_SWITCH.js
+++ b/js/Branching/M_SWITCH.js
@@ -49,7 +49,7 @@ ipar=[1,3];
nin=2;
model=scicos_model();
model.sim=list("mswitch",4);
-model.in=in1;
+model.in1=in1;
model.out=-1;
model.ipar=ipar;
model.blocktype="c";
diff --git a/js/Branching/NRMSOM_f.js b/js/Branching/NRMSOM_f.js
index e5545443..f5ddf6c1 100644
--- a/js/Branching/NRMSOM_f.js
+++ b/js/Branching/NRMSOM_f.js
@@ -26,7 +26,7 @@ in1=[-1,-1];
nin=2;
model=scicos_model();
model.sim="junk";
-model.in=in1;
+model.in1=in1;
model.out=-1;
model.blocktype="c";
model.dep_ut=[true,None];
diff --git a/js/Branching/RELAY_f.js b/js/Branching/RELAY_f.js
index 8c1d4f3c..4a2eb42c 100644
--- a/js/Branching/RELAY_f.js
+++ b/js/Branching/RELAY_f.js
@@ -33,7 +33,7 @@ in1=[-1,-1];
nin=2;
model=scicos_model();
model.sim=list("relay",2);
-model.in=in1;
+model.in1=in1;
model.out=-1;
model.evtin=ones(in1);
model.dstate=i0;
diff --git a/js/Branching/SCALAR2VECTOR.js b/js/Branching/SCALAR2VECTOR.js
index e2b718d8..c4d421d9 100644
--- a/js/Branching/SCALAR2VECTOR.js
+++ b/js/Branching/SCALAR2VECTOR.js
@@ -33,7 +33,7 @@ nout=-1;
model=scicos_model();
model.sim=list("scalar2vector",4);
model.out=nout;
-model.in=1;
+model.in1=1;
model.blocktype="c";
model.dep_ut=[true,None];
exprs=[string([nout])];
diff --git a/js/Branching/SELECT_f.js b/js/Branching/SELECT_f.js
index ad0616c1..7e1ffccb 100644
--- a/js/Branching/SELECT_f.js
+++ b/js/Branching/SELECT_f.js
@@ -32,7 +32,7 @@ in1=[-1,-1];
nin=2;
model=scicos_model();
model.sim=list("selector",2);
-model.in=in1;
+model.in1=in1;
model.out=-1;
model.evtin=ones(in1);
model.dstate=z0;
diff --git a/js/Branching/SELECT_m.js b/js/Branching/SELECT_m.js
index d580454a..0506ed35 100644
--- a/js/Branching/SELECT_m.js
+++ b/js/Branching/SELECT_m.js
@@ -40,7 +40,7 @@ z0=1;
nin=2;
model=scicos_model();
model.sim=list("selector_m",4);
-model.in=[-1,-1];
+model.in1=[-1,-1];
model.in2=[-2,-2];
model.intyp=1;
model.out=-1;
diff --git a/js/Branching/SWITCH2.js b/js/Branching/SWITCH2.js
index 674f8ab6..c959e941 100644
--- a/js/Branching/SWITCH2.js
+++ b/js/Branching/SWITCH2.js
@@ -41,7 +41,7 @@ nzz=1;
rpar=0;
model=scicos_model();
model.sim=list("switch2",4);
-model.in=in1;
+model.in1=in1;
model.out=-1;
model.ipar=ipar;
model.rpar=rpar;
diff --git a/js/Branching/SWITCH2_m.js b/js/Branching/SWITCH2_m.js
index de9b99b5..56adcfd6 100644
--- a/js/Branching/SWITCH2_m.js
+++ b/js/Branching/SWITCH2_m.js
@@ -37,7 +37,7 @@ if (ok) {
it[1-1]=ot;
it[2-1]=1;
it[3-1]=ot;
-in1=[model.in,model.in2];
+in1=[model.in1,model.in2];
out=[model.out,model.out2];
[model,graphics,ok]=set_io(model,graphics,list(in1,it),list(out,ot),[],[]);
}
@@ -54,7 +54,7 @@ nzz=1;
rpar=0;
model=scicos_model();
model.sim=list("switch2_m",4);
-model.in=[-1,1,-1];
+model.in1=[-1,1,-1];
model.in2=[-2,1,-2];
model.intyp=1;
model.out=-1;
diff --git a/js/Branching/SWITCH_f.js b/js/Branching/SWITCH_f.js
index b2833318..4eb039a3 100644
--- a/js/Branching/SWITCH_f.js
+++ b/js/Branching/SWITCH_f.js
@@ -33,7 +33,7 @@ in1=[-1,-1];
nin=2;
model=scicos_model();
model.sim=list("switchn",2);
-model.in=in1;
+model.in1=in1;
model.out=-1;
model.ipar=i0;
model.blocktype="c";