From 7d894fbe04f64aa0917404412cc5b14a1c970818 Mon Sep 17 00:00:00 2001 From: mvax Date: Sat, 25 Feb 2023 13:52:13 -0500 Subject: [PATCH] Fix .endmacro not at the start of the line. Fix comment --- src/ca65/macro.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ca65/macro.c b/src/ca65/macro.c index fa90009b5..92a0f6e9a 100644 --- a/src/ca65/macro.c +++ b/src/ca65/macro.c @@ -493,7 +493,7 @@ void MacDef (unsigned Style) while (1) { /* Check for end of macro */ if (Style == MAC_STYLE_CLASSIC) { - /* In classic macros, only .endmacro is allowed, but ignore it if it is in a .define */ + /* In classic macros, only .endmacro is allowed, but ignore it if it is not at the start of the line */ if (CurTok.Tok == TOK_ENDMACRO && LastTokWasSep) { /* Done */ break;