aboutsummaryrefslogtreecommitdiff
path: root/tools/mhmake/src/mhmakefileparser.h
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-09-01 15:05:15 +0000
committermarha <marha@users.sourceforge.net>2010-09-01 15:05:15 +0000
commita1c59d04b8d5ce972c34bd1e5abd941b55655029 (patch)
treebb62b1ec94277a10de7bc22bba9ac62e74878b5d /tools/mhmake/src/mhmakefileparser.h
parente09e8cbeb878fc881b6987280e18ce5430318451 (diff)
downloadvcxsrv-a1c59d04b8d5ce972c34bd1e5abd941b55655029.tar.gz
vcxsrv-a1c59d04b8d5ce972c34bd1e5abd941b55655029.tar.bz2
vcxsrv-a1c59d04b8d5ce972c34bd1e5abd941b55655029.zip
Make it possible to use more complicated expressions in if statements
Diffstat (limited to 'tools/mhmake/src/mhmakefileparser.h')
-rw-r--r--tools/mhmake/src/mhmakefileparser.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/mhmake/src/mhmakefileparser.h b/tools/mhmake/src/mhmakefileparser.h
index 048435f34..73d3979dc 100644
--- a/tools/mhmake/src/mhmakefileparser.h
+++ b/tools/mhmake/src/mhmakefileparser.h
@@ -103,6 +103,8 @@ protected:
set< const fileinfo* , less_fileinfo > m_Targets; // List of targets that are build by this makefile
static mh_time_t m_sBuildTime;
+private:
+ string mhmakefileparser::ResolveExpression(const string &InExpr,string &Rest) const;
public:
#ifdef _DEBUG
@@ -228,6 +230,7 @@ public:
/* Functions to handle variables */
bool IsDefined(const string &Var) const;
bool IsEqual(const string &EqualExpr) const;
+ bool IsExprTrue(const string &EqualExpr) const;
string ExpandExpression(const string &Expr) const;
string ExpandMacro(const string &Expr) const;
string ExpandVar(const string &Var) const;