diff options
author | zah <zahary@gmail.com> | 2017-03-13 23:02:11 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2017-03-13 22:02:11 +0100 |
commit | 650b20dc5e9a1ce7e0990e2edc0ed01e6f0cada4 (patch) | |
tree | a57391c0e881827f04f846230802d44fc785dc78 /web/news | |
parent | d59441340dcc3b131c984def530084da93796775 (diff) | |
download | Nim-650b20dc5e9a1ce7e0990e2edc0ed01e6f0cada4.tar.gz |
fix varargs forwarding for templates; fixes #5455 (#5505)
* fix varargs forwarding for templates; fixes #5455 * document the macros' varargs change in the news for 0.16.2
Diffstat (limited to 'web/news')
-rw-r--r-- | web/news/e031_version_0_16_2.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/web/news/e031_version_0_16_2.rst b/web/news/e031_version_0_16_2.rst index 802478090..37137169b 100644 --- a/web/news/e031_version_0_16_2.rst +++ b/web/news/e031_version_0_16_2.rst @@ -23,6 +23,9 @@ Changes affecting backwards compatibility pointer. Now the hash is calculated from the contents of the string, assuming ``cstring`` is a null-terminated string. Equal ``string`` and ``cstring`` values produce an equal hash value. +- Macros accepting `varargs` arguments will now receive a node having the + `nkArgList` node kind. Previous code expecting the node kind to be `nkBracket` + may have to be updated. - ``memfiles.open`` now closes file handleds/fds by default. Passing ``allowRemap=true`` to ``memfiles.open`` recovers the old behavior. The old behavior is only needed to call ``mapMem`` on the resulting ``MemFile``. |