From 4b29615f2bad008cc5a7b015616883a4e837972b Mon Sep 17 00:00:00 2001 From: mvax Date: Sat, 25 Feb 2023 13:49:19 -0500 Subject: [PATCH] Fix .endmacro not at the start of the line. Allow empty macro --- src/ca65/macro.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ca65/macro.c b/src/ca65/macro.c index c09b2412f..fa90009b5 100644 --- a/src/ca65/macro.c +++ b/src/ca65/macro.c @@ -480,6 +480,7 @@ void MacDef (unsigned Style) */ if (Style == MAC_STYLE_CLASSIC) { ConsumeSep (); + LastTokWasSep = 1; } else if (HaveParams) { ConsumeRParen (); }