41{
43 BOOL bOldIgnoreParserComments;
44#ifndef MSCMD_CALL_QUIRKS
45 BOOL bOldHandleContinuations;
46#else
48#endif
50
52
54 {
56 return 0;
57 }
58
59
62
63
66
67#ifndef MSCMD_CALL_QUIRKS
68
72#else
73
74
75
76
77
78
79
80
81
82
83 nNumCarets = 0;
86 {
89 {
90 ++nNumCarets;
92 }
93 }
94
95
96 if (nNumCarets > 0)
97 {
99
100
103 {
104 WARN(
"Cannot allocate memory for new CALL parameter string!\n");
107 }
108
109
112 while (*Src)
113 {
115 {
116
118 if (!End)
121 Dest += End - Src;
122 Src = End;
123 continue;
124 }
125
126
127 *Dest++ = *Src;
128 *Dest++ = *Src++;
129 }
131 }
132 else
133 {
135 }
136#endif
137
138
139
140
141
143
144
145#ifndef MSCMD_CALL_QUIRKS
147#endif
149
150
151
152
153
155 {
156#ifdef MSCMD_CALL_QUIRKS
159#endif
161 }
162
163
165
166
167
168
169
170
173 {
175
176#ifdef MSCMD_CALL_QUIRKS
179#endif
182 }
183
184#ifdef MSCMD_CALL_QUIRKS
187#endif
188
191
192
194 {
196
197
199 {
203 }
204
207 }
208 else
209 {
211 }
212
215}
PARSED_COMMAND * ParseCommand(IN PCTSTR Line)
BOOL bHandleContinuations
BOOL bIgnoreParserComments
VOID error_out_of_memory(VOID)
VOID FreeCommand(IN OUT PARSED_COMMAND *Cmd)
VOID ConOutResPaging(BOOL StartPaging, UINT resID)
#define ConErrResPuts(uID)
#define ConErrResPrintf(uID,...)
#define STRING_ERROR_UNEXPECTED
#define STRING_ERROR_CALL_BAD_LABEL
static VOID DoCommand(PCONSOLE_STATE State, LPSTR line)
#define memcpy(s1, s2, n)
TCHAR BatchFilePath[MAX_PATH]