1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-19 06:31:31 +00:00

Fix .endmacro not at the start of the line. Allow empty macro

This commit is contained in:
mvax 2023-02-25 13:49:19 -05:00
parent 0a05f78d47
commit 4b29615f2b

View File

@ -480,6 +480,7 @@ void MacDef (unsigned Style)
*/ */
if (Style == MAC_STYLE_CLASSIC) { if (Style == MAC_STYLE_CLASSIC) {
ConsumeSep (); ConsumeSep ();
LastTokWasSep = 1;
} else if (HaveParams) { } else if (HaveParams) {
ConsumeRParen (); ConsumeRParen ();
} }