mirror of
https://github.com/reactos/reactos.git
synced 2026-06-03 01:41:13 +08:00
Argument parser now ignores escape sequences.
svn path=/trunk/; revision=1800
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* $Id: ArgumentParser.cpp,v 1.4 2001/01/13 23:53:46 narnaoud Exp $
|
||||
/* $Id: ArgumentParser.cpp,v 1.5 2001/04/16 04:58:31 narnaoud Exp $
|
||||
*
|
||||
* regexpl - Console Registry Explorer
|
||||
*
|
||||
@@ -52,6 +52,10 @@ m_pchArgumentListEnd = pchArguments + _tcslen(pchArguments);
|
||||
{
|
||||
switch(*pch)
|
||||
{
|
||||
case _T('\\'): // argument parser ignores escape sequences
|
||||
if (pch[1])
|
||||
pch++;
|
||||
break;
|
||||
case _T('\"'):
|
||||
blnLongArg = !blnLongArg;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user