mirror of
https://github.com/reactos/reactos.git
synced 2025-06-12 03:48:30 +00:00
[CMD] Use pointers to const strings in error functions, where applicable.
This commit is contained in:
parent
3f8f3a2bba
commit
00ce3c48fe
3 changed files with 20 additions and 20 deletions
|
@ -112,7 +112,7 @@ restart:
|
|||
return (CurChar = Char);
|
||||
}
|
||||
|
||||
void ParseErrorEx(LPTSTR s)
|
||||
VOID ParseErrorEx(IN PCTSTR s)
|
||||
{
|
||||
/* Only display the first error we encounter */
|
||||
if (!bParseError)
|
||||
|
@ -120,7 +120,7 @@ void ParseErrorEx(LPTSTR s)
|
|||
bParseError = TRUE;
|
||||
}
|
||||
|
||||
static void ParseError(void)
|
||||
static __inline VOID ParseError(VOID)
|
||||
{
|
||||
ParseErrorEx(CurrentTokenType != TOK_END ? CurrentToken : NULL);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue