summaryrefslogtreecommitdiff
path: root/cpp/src/FreezeScript/Util.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2013-07-17 00:09:35 +0200
committerJose <jose@zeroc.com>2013-07-17 00:09:35 +0200
commit3288f5190bafcf1d9a71bbef7cd0b7d287fb7b86 (patch)
tree26fa5dbd2ff580933dc28b90af40ba9e3ca6fe7b /cpp/src/FreezeScript/Util.cpp
parentFixed ICE-5356 - Consider adding man pages for unix executables (diff)
downloadice-3288f5190bafcf1d9a71bbef7cd0b7d287fb7b86.tar.bz2
ice-3288f5190bafcf1d9a71bbef7cd0b7d287fb7b86.tar.xz
ice-3288f5190bafcf1d9a71bbef7cd0b7d287fb7b86.zip
Fixed ICE-5375 - Consider to add ICE_TRANSLATOR preprocessor macro
Diffstat (limited to 'cpp/src/FreezeScript/Util.cpp')
-rw-r--r--cpp/src/FreezeScript/Util.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/FreezeScript/Util.cpp b/cpp/src/FreezeScript/Util.cpp
index 52e72b956a0..6ba2715713a 100644
--- a/cpp/src/FreezeScript/Util.cpp
+++ b/cpp/src/FreezeScript/Util.cpp
@@ -170,7 +170,7 @@ FreezeScript::createEvictorSliceTypes(const Slice::UnitPtr& u)
bool
FreezeScript::parseSlice(const string& n, const Slice::UnitPtr& u, const vector<string>& files,
- const vector<string>& cppArgs, bool debug)
+ const vector<string>& cppArgs, bool debug, const std::string& extraArgs)
{
//
// Parse the Slice files.
@@ -179,7 +179,7 @@ FreezeScript::parseSlice(const string& n, const Slice::UnitPtr& u, const vector<
{
PreprocessorPtr icecpp = Preprocessor::create(n, *p, cppArgs);
- FILE* cppHandle = icecpp->preprocess(false);
+ FILE* cppHandle = icecpp->preprocess(false, extraArgs);
if(cppHandle == 0)
{