summaryrefslogtreecommitdiffstats
path: root/Source/cmExprParserHelper.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmExprParserHelper.h')
-rw-r--r--Source/cmExprParserHelper.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmExprParserHelper.h b/Source/cmExprParserHelper.h
index 15e8f3e..42c460a 100644
--- a/Source/cmExprParserHelper.h
+++ b/Source/cmExprParserHelper.h
@@ -32,6 +32,10 @@ public:
const char* GetError() { return this->ErrorString.c_str(); }
+ void UnexpectedChar(char c);
+
+ std::string const& GetWarning() const { return this->WarningString; }
+
private:
std::string::size_type InputBufferPos;
std::string InputBuffer;
@@ -47,6 +51,7 @@ private:
const char* FileName;
long FileLine;
std::string ErrorString;
+ std::string WarningString;
};
#define YYSTYPE cmExprParserHelper::ParserType