mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Fix a latent bug with parsing macro args
This seems to only have worked by coincidence; `$$` was an undefined value that happened to equal `$1` already.
This commit is contained in:
@@ -525,7 +525,8 @@ macroargs:
|
|||||||
fatalerror("Failed to allocate memory for macro arguments: %s\n", strerror(errno));
|
fatalerror("Failed to allocate memory for macro arguments: %s\n", strerror(errno));
|
||||||
}
|
}
|
||||||
| macroargs T_STRING {
|
| macroargs T_STRING {
|
||||||
$$->append($2);
|
$1->append($2);
|
||||||
|
$$ = $1;
|
||||||
}
|
}
|
||||||
;
|
;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user