mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 19:29:37 +00:00
Fix .endmacro not at the start of the line. Fix comment
This commit is contained in:
parent
4b29615f2b
commit
7d894fbe04
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user