diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -552,6 +552,8 @@ static char *replace(char *body, char *replace, char *id) idx += len; continue; } + + new = append(new, body[idx++]); } free(body); @@ -741,7 +743,7 @@ static void expand_instance(char *id, char *instance) super = replace_id(super, name, type); if (args) - args = replace_id(super, name, type); + args = replace_id(args, name, type); } drop_tokens(&type_traits); |