summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cpp/Main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/slice2cpp/Main.cpp')
-rw-r--r--cpp/src/slice2cpp/Main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/slice2cpp/Main.cpp b/cpp/src/slice2cpp/Main.cpp
index 7e2ff8b58b1..86eafe9e64f 100644
--- a/cpp/src/slice2cpp/Main.cpp
+++ b/cpp/src/slice2cpp/Main.cpp
@@ -169,7 +169,7 @@ main(int argc, char* argv[])
{
if(depend)
{
- Preprocessor icecpp(argv[0], *i, cppArgs);
+ Preprocessor icecpp(argv[0], *i, cppArgs, sourceExtension);
if(!icecpp.printMakefileDependencies(Preprocessor::CPlusPlus, includePaths))
{
return EXIT_FAILURE;
@@ -177,7 +177,7 @@ main(int argc, char* argv[])
}
else
{
- Preprocessor icecpp(argv[0], *i, cppArgs);
+ Preprocessor icecpp(argv[0], *i, cppArgs, sourceExtension);
FILE* cppHandle = icecpp.preprocess(false);
if(cppHandle == 0)