summary refs log tree commit diff stats
path: root/web/news.txt
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2012-08-28 22:15:29 +0200
committerAraq <rumpf_a@web.de>2012-08-28 22:15:29 +0200
commitb4844a189d88655394080f765076a7d85fe6185d (patch)
tree466be4d35d50e7928cbef25a416e2c97f50c2490 /web/news.txt
parent6bcdb9c8f429b48e534c50d3dadf7b31783aa0bf (diff)
downloadNim-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-xweb/news.txt2
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