1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-07 07:29:33 +00:00

Fix .endmacro not at the start of the line. Fix comment

This commit is contained in:
mvax 2023-02-25 13:52:13 -05:00
parent 4b29615f2b
commit 7d894fbe04

View File

@ -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;