Fix .endmacro not at the start of the line. Fix comment
This commit is contained in:
@@ -493,7 +493,7 @@ void MacDef (unsigned Style)
|
|||||||
while (1) {
|
while (1) {
|
||||||
/* Check for end of macro */
|
/* Check for end of macro */
|
||||||
if (Style == MAC_STYLE_CLASSIC) {
|
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) {
|
if (CurTok.Tok == TOK_ENDMACRO && LastTokWasSep) {
|
||||||
/* Done */
|
/* Done */
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user