瀏覽代碼

* 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 年之前
父節點
當前提交
0b42e226f8
共有 2 個文件被更改,包括 702 次插入269 次删除
  1. 311 202
      packages/pastojs/src/fppas2js.pp
  2. 391 67
      packages/pastojs/tests/tcmodules.pas

File diff suppressed because it is too large
+ 311 - 202
packages/pastojs/src/fppas2js.pp


File diff suppressed because it is too large
+ 391 - 67
packages/pastojs/tests/tcmodules.pas


Some files were not shown because too many files changed in this diff