Commit 17cab404 authored by Marius Bozga's avatar Marius Bozga
Browse files

fix macro parameter / field name clash

parent 2ceed595
......@@ -208,7 +208,7 @@ inline void print_func($1)
(const type_name($1) x, FILE* f);
inline void reset_func($1)
(type_name($1)& x);
`#define' iterate_func($1)(x)\
`#define' iterate_func($1)(_x_)\
var_iterate$2
inline type_name($1) if_$1_make
(var_par_decl$2);')
......
......@@ -119,8 +119,8 @@ define(`var_reset',
define(`var_iterate',
`ifelse($2$4,,,
$4,,iterate($2,x.$1),
`iterate($2,x.$1)\
$4,,iterate($2,_x_.$1),
`iterate($2,_x_.$1)\
var_iterate(shift(shift($@)))')')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment