4.59 beta

This commit is contained in:
Igor Pavlov
2008-08-13 00:00:00 +00:00
committed by Kornel Lesiński
parent 3901bf0ab8
commit 173c07e166
781 changed files with 22124 additions and 13650 deletions
+4 -4
View File
@@ -12,7 +12,7 @@ void SplitCommandLine(const UString &s, UStringVector &parts);
namespace NSwitchType {
enum EEnum
{
{
kSimple,
kPostMinus,
kLimitedPostString,
@@ -44,12 +44,12 @@ class CParser
{
int _numSwitches;
CSwitchResult *_switches;
bool ParseString(const UString &s, const CSwitchForm *switchForms);
bool ParseString(const UString &s, const CSwitchForm *switchForms);
public:
UStringVector NonSwitchStrings;
CParser(int numSwitches);
~CParser();
void ParseStrings(const CSwitchForm *switchForms,
void ParseStrings(const CSwitchForm *switchForms,
const UStringVector &commandStrings);
const CSwitchResult& operator[](size_t index) const;
};
@@ -64,7 +64,7 @@ struct CCommandForm
};
// Returns: Index of form and postString; -1, if there is no match
int ParseCommand(int numCommandForms, const CCommandForm *commandForms,
int ParseCommand(int numCommandForms, const CCommandForm *commandForms,
const UString &commandString, UString &postString);
}