[PATCH 02/13] programs/winedbg: support as # comment delimiter in commands
Eric Pouech
eric.pouech at gmail.com
Wed Dec 1 08:29:46 CST 2021
Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
---
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);}
<<EOF>> { return tEOF; }
+<*>"#"[^\n]* /* Skip comments */
<*>\n { BEGIN(INITIAL); syntax_error = 0; return tEOL; }
/* Indicates end of command. Reset state. */
More information about the wine-devel
mailing list