From 55f6e6863b8f17312e8ff58d05d6d035c822187b Mon Sep 17 00:00:00 2001 From: Jose Date: Tue, 27 Jan 2009 19:28:59 +0100 Subject: Squashed commit of the following: commit 9aa67a8862e402cb52276282b26a40422fae4adb Author: Jose Gutierrez Date: Tue Jan 27 19:25:22 2009 +0100 Fixed 3374 --header-ext not work as intended. --- cpp/src/slice2cpp/Main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpp/src/slice2cpp/Main.cpp') 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) -- cgit v1.2.3