From dd59222d4ddd2c128cc50c5752effb7b76a1f92b Mon Sep 17 00:00:00 2001 From: Eric Pouech Date: Wed, 1 Dec 2021 15:29:46 +0100 Subject: [PATCH] winedbg: Support # as comment delimiter in commands. Signed-off-by: Eric Pouech Signed-off-by: Alexandre Julliard --- programs/winedbg/debug.l | 1 + 1 file changed, 1 insertion(+) diff --git a/programs/winedbg/debug.l b/programs/winedbg/debug.l index 875688f774f..3c9acc5fe60 100644 --- a/programs/winedbg/debug.l +++ b/programs/winedbg/debug.l @@ -138,6 +138,7 @@ STRING \"[^\n"]+\" if (!dbg_num_processes() && YYSTATE == INITIAL) {BEGIN(NOPROCESS);} <> { return tEOF; } +<*>"#"[^\n]* /* Skip comments */ <*>\n { BEGIN(INITIAL); syntax_error = 0; return tEOL; } /* Indicates end of command. Reset state. */