diff options
author | Sunil Shetye | 2018-06-15 23:43:09 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-06-15 23:43:09 +0530 |
commit | 073f4cb62b331bb437c894e0581126e5d1ef459f (patch) | |
tree | 84d6755d231feb9feb2d79a06e0bbe7f784d86fc /js/IntegerOp | |
parent | a8e5849586f23ffb1ecd2fe47a636b61c80c2e70 (diff) | |
download | sci2js-073f4cb62b331bb437c894e0581126e5d1ef459f.tar.gz sci2js-073f4cb62b331bb437c894e0581126e5d1ef459f.tar.bz2 sci2js-073f4cb62b331bb437c894e0581126e5d1ef459f.zip |
handle space character also
required in lists
Diffstat (limited to 'js/IntegerOp')
-rw-r--r-- | js/IntegerOp/DLATCH.js | 2 | ||||
-rw-r--r-- | js/IntegerOp/EXTRACTBITS.js | 2 | ||||
-rw-r--r-- | js/IntegerOp/INTMUL.js | 4 | ||||
-rw-r--r-- | js/IntegerOp/SHIFT.js | 3 |
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 |