mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 16:53:05 +00:00
[CMD] GOTO: Fix label parsing.
We note two things, when CMD searches for the corresponding label in the batch file: - the first character of the line is always ignored, unless it's a colon; - the escape caret ^ is supported and interpreted. Fixes some cmd_winetests.
This commit is contained in:
parent
71cd64d66a
commit
2e4c8c019e
4 changed files with 74 additions and 34 deletions
|
@ -301,6 +301,10 @@ INT cmd_move (LPTSTR);
|
|||
INT CommandMsgbox (LPTSTR);
|
||||
|
||||
/* Prototypes from PARSER.C */
|
||||
|
||||
/* These three characters act like spaces to the parser in most contexts */
|
||||
#define STANDARD_SEPS _T(",;=")
|
||||
|
||||
enum { C_COMMAND, C_QUIET, C_BLOCK, C_MULTI, C_OR, C_AND, C_PIPE, C_IF, C_FOR };
|
||||
typedef struct _PARSED_COMMAND
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue