diff options
author | Araq <rumpf_a@web.de> | 2012-08-28 22:15:29 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2012-08-28 22:15:29 +0200 |
commit | b4844a189d88655394080f765076a7d85fe6185d (patch) | |
tree | 466be4d35d50e7928cbef25a416e2c97f50c2490 /web/news.txt | |
parent | 6bcdb9c8f429b48e534c50d3dadf7b31783aa0bf (diff) | |
download | Nim-b4844a189d88655394080f765076a7d85fe6185d.tar.gz |
parameter passing works the same for macros and templates; use callsite magic to access the invokation AST
Diffstat (limited to 'web/news.txt')
-rwxr-xr-x | web/news.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/web/news.txt b/web/news.txt index e456f70f3..80f74cd1e 100755 --- a/web/news.txt +++ b/web/news.txt @@ -111,6 +111,8 @@ Changes affecting backwards compatibility - Objects that have no ancestor are now implicitely ``final``. Use the ``inheritable`` pragma to introduce new object roots apart from ``TObject``. +- Macros now receive parameters like templates do; use the ``callsite`` builtin + to gain access to the invokating AST. Compiler Additions |