winedbg: Support # as comment delimiter in commands.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Eric Pouech 2021-12-01 15:29:46 +01:00 committed by Alexandre Julliard
parent 9061634a01
commit dd59222d4d
1 changed files with 1 additions and 0 deletions

View File

@ -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. */