Eric Pouech : winedbg: Support # as comment delimiter in commands.
Alexandre Julliard
julliard at winehq.org
Wed Dec 1 15:23:50 CST 2021
Module: wine
Branch: master
Commit: dd59222d4ddd2c128cc50c5752effb7b76a1f92b
URL: https://source.winehq.org/git/wine.git/?a=commit;h=dd59222d4ddd2c128cc50c5752effb7b76a1f92b
Author: Eric Pouech <eric.pouech at gmail.com>
Date: Wed Dec 1 15:29:46 2021 +0100
winedbg: Support # as comment delimiter in commands.
Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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-cvs
mailing list