Remove fixed-size array for macro arguments

This commit is contained in:
aaaaaa123456789
2020-05-12 06:46:07 -03:00
parent 4d0d6664d7
commit a828f82414
3 changed files with 9 additions and 9 deletions

View File

@@ -720,10 +720,10 @@ macroargs : /* empty */ {
}
| T_STRING {
$$ = macro_NewArgs();
macro_AppendArg($$, strdup($1));
macro_AppendArg(&($$), strdup($1));
}
| macroargs ',' T_STRING {
macro_AppendArg($$, strdup($3));
macro_AppendArg(&($$), strdup($3));
}
;