mirror of
https://github.com/gbdev/rgbds.git
synced 2025-12-01 15:27:48 +00:00
Remove fixed-size array for macro arguments
This commit is contained in:
@@ -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));
|
||||
}
|
||||
;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user