Eric Pouech : winedbg: Support # as comment delimiter in commands.
Module: wine Branch: master Commit: dd59222d4ddd2c128cc50c5752effb7b76a1f92b URL: https://source.winehq.org/git/wine.git/?a=commit;h=dd59222d4ddd2c128cc50c575... Author: Eric Pouech <eric.pouech(a)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(a)gmail.com> Signed-off-by: Alexandre Julliard <julliard(a)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. */
participants (1)
-
Alexandre Julliard