mirror of
https://github.com/reactos/reactos.git
synced 2025-04-27 09:00:27 +00:00
[CMD] Quick fix for the REM command parser. CORE-17030
This commit is contained in:
parent
4246b64dcb
commit
9c11be5a3a
1 changed files with 4 additions and 3 deletions
|
@ -575,9 +575,10 @@ error:
|
||||||
/* Parse a REM command */
|
/* Parse a REM command */
|
||||||
static PARSED_COMMAND *ParseRem(void)
|
static PARSED_COMMAND *ParseRem(void)
|
||||||
{
|
{
|
||||||
/* Just ignore the rest of the line */
|
/* "Ignore" the rest of the line.
|
||||||
while (CurChar && CurChar != _T('\n'))
|
* (Line continuations will still be parsed, though.) */
|
||||||
ParseChar();
|
while (ParseToken(0, NULL) != TOK_END)
|
||||||
|
;
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue