summaryrefslogtreecommitdiff
path: root/js/IntegerOp
diff options
context:
space:
mode:
Diffstat (limited to 'js/IntegerOp')
-rw-r--r--js/IntegerOp/DLATCH.js2
-rw-r--r--js/IntegerOp/EXTRACTBITS.js2
-rw-r--r--js/IntegerOp/INTMUL.js4
-rw-r--r--js/IntegerOp/SHIFT.js3
4 files changed, 5 insertions, 6 deletions
diff --git a/js/IntegerOp/DLATCH.js b/js/IntegerOp/DLATCH.js
index 34443919..f7077d23 100644
--- a/js/IntegerOp/DLATCH.js
+++ b/js/IntegerOp/DLATCH.js
@@ -1,3 +1,3 @@
-Syntax error in input LexToken(COMMA,',',1,887)
+Syntax error in input LexToken(SCICOS_DIAGRAM,'scicos_diagram',1,982)
/* autogenerated from "macros/IntegerOp/DLATCH.sci" */
None
diff --git a/js/IntegerOp/EXTRACTBITS.js b/js/IntegerOp/EXTRACTBITS.js
index 4869e930..187b2914 100644
--- a/js/IntegerOp/EXTRACTBITS.js
+++ b/js/IntegerOp/EXTRACTBITS.js
@@ -1,3 +1,3 @@
-Syntax error in input LexToken(EOL,'\n',1,3407)
+Syntax error in input LexToken(EOL,'\n ',1,3407)
/* autogenerated from "macros/IntegerOp/EXTRACTBITS.sci" */
None
diff --git a/js/IntegerOp/INTMUL.js b/js/IntegerOp/INTMUL.js
index 2db0172c..788ecfff 100644
--- a/js/IntegerOp/INTMUL.js
+++ b/js/IntegerOp/INTMUL.js
@@ -8,14 +8,14 @@ graphics=arg1.graphics;
model=arg1.model;
exprs=graphics.exprs;
while (true) {
-[ok,Datatype,np,exprs]=scicos_getvalue([msprintf(gettext("Set %s block parameters"),"INTMUL")," ",gettext("Integer matrix multiplication")," "],[msprintf(gettext("Data Type %s"),"(3:int32, 4:int16, 5:int8, ...)"),gettext("Do on Overflow (0:Nothing, 1:Saturate, 2:Error)")],list("vec",1,"vec",1),exprs);
+[ok,Datatype,np,exprs]=scicos_getvalue( [msprintf(gettext("Set %s block parameters"),"INTMUL")," ",gettext("Integer matrix multiplication")," "],[msprintf(gettext("Data Type %s"),"(3:int32, 4:int16, 5:int8, ...)"),gettext("Do on Overflow (0:Nothing, 1:Saturate, 2:Error)")],list("vec",1,"vec",1),exprs);
if (!ok) {
break
}
it=Datatype*ones(1,2);
ot=Datatype;
if ((np!=0&&np!=1&&np!=2)) {
-block_parameter_error(msprintf(gettext("Wrong value for \'%s\' parameter: %d."),gettext("Do on Overflow"),np),msprintf(gettext("Must be in the interval %s."),"[0, 2]"));
+block_parameter_error(msprintf( gettext("Wrong value for \'%s\' parameter: %d."),gettext("Do on Overflow"),np),msprintf( gettext("Must be in the interval %s."),"[0, 2]"));
ok=None;
} else if (Datatype==3) {
if (np==0) {
diff --git a/js/IntegerOp/SHIFT.js b/js/IntegerOp/SHIFT.js
index c4783369..96e4bda5 100644
--- a/js/IntegerOp/SHIFT.js
+++ b/js/IntegerOp/SHIFT.js
@@ -1,4 +1,3 @@
-Syntax error in input LexToken(EOL,'\n',1,2341)
-Syntax error in input LexToken(VAR,'exprs',1,5402)
+Syntax error in input LexToken(EOL,'\n ',1,2341)
/* autogenerated from "macros/IntegerOp/SHIFT.sci" */
None