From 6d00877231196cd2c9f903f660613b3e61516c03 Mon Sep 17 00:00:00 2001 From: ISSOtm Date: Tue, 18 Feb 2020 20:58:20 +0100 Subject: [PATCH] Prevent infinite loop with line continuations without newlines --- src/asm/lexer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/asm/lexer.c b/src/asm/lexer.c index 19b16e8e..6cf73a56 100644 --- a/src/asm/lexer.c +++ b/src/asm/lexer.c @@ -830,6 +830,7 @@ scanagain: goto scanagain; } else { yyerror("Expected a new line after the continuation character."); + pLexBuffer++; } } }