From 9e3d7a50e6a93152f60872dd03080c2c1942a97e Mon Sep 17 00:00:00 2001 From: ISSOtm Date: Tue, 18 Aug 2020 16:37:01 +0200 Subject: [PATCH] Handle comments in line continuations --- src/asm/lexer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/asm/lexer.c b/src/asm/lexer.c index 1fd5d2b0..14d693ce 100644 --- a/src/asm/lexer.c +++ b/src/asm/lexer.c @@ -909,6 +909,8 @@ static void readLineContinuation(void) || lexerState->expansions->distance) lexerState->lineNo++; return; + } else if (c == ';') { + discardComment(); } else { error("Begun line continuation, but encountered character '%s'\n", print(c));