diff options
author | Sunil Shetye | 2018-06-16 19:47:55 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-06-18 10:46:22 +0530 |
commit | dc0c2354295fc1c80d5c0e10b053e5926861b5d3 (patch) | |
tree | f985ad20bba0639e5d85e3be91552b4dca6f7fc9 /js/Sources/READC_f.js | |
parent | 3a3e1d6aa7fd38a910a7416040050ffa9550566e (diff) | |
download | sci2js-dc0c2354295fc1c80d5c0e10b053e5926861b5d3.tar.gz sci2js-dc0c2354295fc1c80d5c0e10b053e5926861b5d3.tar.bz2 sci2js-dc0c2354295fc1c80d5c0e10b053e5926861b5d3.zip |
support var(:,:) syntax
Diffstat (limited to 'js/Sources/READC_f.js')
-rw-r--r-- | js/Sources/READC_f.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/Sources/READC_f.js b/js/Sources/READC_f.js index a5524672..a3e6dad6 100644 --- a/js/Sources/READC_f.js +++ b/js/Sources/READC_f.js @@ -20,7 +20,7 @@ while (true) { if (!ok) { break } -fname1=pathconvert(stripblanks(fname1),None,true); +fname1=pathconvert(stripblanks(fname1),false,true); frmt1=stripblanks(frmt1); fmts=["s","l","d","f","c","us","ul","uc","ull","uls","ubl","ubs","dl","fl","ll","sl","db","fb","lb","sb"]; nout=size(outmask,"*"); @@ -107,7 +107,7 @@ model.dstate=[1,1,lunit,zeros(N*M,1)]; model.ipar=[length(fname),_str2code(frmt),ievt,N,M,swap,offset,_str2code(fname),tmask,outmask]; model.blocktype="d"; model.firing=-1; -model.dep_ut=[None,None]; +model.dep_ut=[false,false]; exprs=["[]",sci2exp(outmask),fname,frmt,string(M),string(N),string(offset),string(swap)]; gr_i=[]; x=standard_define([4,2],model,exprs,gr_i); |