diff options
Diffstat (limited to 'src/common.hff')
| -rw-r--r-- | src/common.hff | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common.hff b/src/common.hff index 3d90c55..4da1398 100644 --- a/src/common.hff +++ b/src/common.hff @@ -15,7 +15,7 @@ defmacro assert { ] } -defmacro foreach(x, i, a, ...body) [ +defmacro foreach(x, i, a, &body) [ { let $a = a; for let i = 0; i < $a.#len; ++i { @@ -33,7 +33,7 @@ defmacro coalesce(a,b) [ $x ? $x : b; ) ] -defmacro with_tmpchange(var,x,...body) [ +defmacro with_tmpchange(var,x,&body) [ { let $tmp = (var); (var) = x; { body } |