Przeglądaj źródła

* Patch from Mattias Gaertner:
- external vars
- untyped parameters
- varargs
- SetLength(s,len) is now converted to s.length=len
- destructor now clears references
- dynamic arrays now are never null.
- anArr:=nil becomes anArr = []
- anArr=nil becomes anArr.length==0
- passing nil to an array parameter passes []
- length(anArr) becomes anArr.length
- High(anArr) becomes anArr.length-1
- sets now uses references when assigning and passing to a parameter.
Far less clone operations.

git-svn-id: trunk@35504 -

michael 8 lat temu
rodzic
commit
0b42e226f8
2 zmienionych plików z 702 dodań i 269 usunięć
  1. 311 202
      packages/pastojs/src/fppas2js.pp
  2. 391 67
      packages/pastojs/tests/tcmodules.pas

Plik diff jest za duży
+ 311 - 202
packages/pastojs/src/fppas2js.pp


Plik diff jest za duży
+ 391 - 67
packages/pastojs/tests/tcmodules.pas


Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików