Browse Source

pas2js: version 0.9.23

git-svn-id: trunk@39138 -
Mattias Gaertner 7 years ago
parent
commit
23b90ee315
2 changed files with 5 additions and 6 deletions
  1. 4 2
      packages/pastojs/src/fppas2js.pp
  2. 1 4
      packages/pastojs/src/pas2jscompiler.pp

+ 4 - 2
packages/pastojs/src/fppas2js.pp

@@ -346,13 +346,15 @@ Works:
 - typecast byte(longword) -> value & $ff
 - typecast byte(longword) -> value & $ff
 
 
 ToDos:
 ToDos:
+- bug:
+  v:=a[0]  gives Local variable "a" is assigned but never used
+- bug:
+  exit(something) gives function result not set
 - check rtl.js version
 - check rtl.js version
 - 'new', 'Function' -> class var use .prototype
 - 'new', 'Function' -> class var use .prototype
 - btArrayLit
 - btArrayLit
   a: array of jsvalue;
   a: array of jsvalue;
   a:=[];
   a:=[];
-- bug:
-  v:=a[0]  gives Local variable "a" is assigned but never used
 - setlength(dynarray)  modeswitch to create a copy
 - setlength(dynarray)  modeswitch to create a copy
 - static arrays
 - static arrays
   - clone multi dim static array
   - clone multi dim static array

+ 1 - 4
packages/pastojs/src/pas2jscompiler.pp

@@ -9,9 +9,6 @@ Compiler-ToDos:
   -Fa<x>[,y] (for a program) load units <x> and [y] before uses is parsed
   -Fa<x>[,y] (for a program) load units <x> and [y] before uses is parsed
   Add Windows macros, see InitMacros.
   Add Windows macros, see InitMacros.
   add options for names of globals like 'pas' and 'rtl'
   add options for names of globals like 'pas' and 'rtl'
-
-FileCache:
-  uses 'in'
 }
 }
 unit Pas2jsCompiler;
 unit Pas2jsCompiler;
 
 
@@ -29,7 +26,7 @@ uses
 const
 const
   VersionMajor = 0;
   VersionMajor = 0;
   VersionMinor = 9;
   VersionMinor = 9;
-  VersionRelease = 22;
+  VersionRelease = 23;
   VersionExtra = '+beta';
   VersionExtra = '+beta';
   DefaultConfigFile = 'pas2js.cfg';
   DefaultConfigFile = 'pas2js.cfg';