瀏覽代碼

* 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

文件差異過大導致無法顯示
+ 311 - 202
packages/pastojs/src/fppas2js.pp


文件差異過大導致無法顯示
+ 391 - 67
packages/pastojs/tests/tcmodules.pas


部分文件因文件數量過多而無法顯示