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:
parent
9061634a01
commit
dd59222d4d
|
@ -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. */
|
||||
|
||||
|
|
Loading…
Reference in New Issue