diff options
author | Mark Spruiell <mes@zeroc.com> | 2017-10-03 15:15:31 -0700 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2017-10-03 15:15:31 -0700 |
commit | 3c1ed6f3c56943fa7938042f72dc20dc79f6ae2a (patch) | |
tree | 5af66030548c3250946ee68f786e60fa5bfee9c7 /cpp/src/Slice/Preprocessor.cpp | |
parent | Adding inheritance test (diff) | |
download | ice-3c1ed6f3c56943fa7938042f72dc20dc79f6ae2a.tar.bz2 ice-3c1ed6f3c56943fa7938042f72dc20dc79f6ae2a.tar.xz ice-3c1ed6f3c56943fa7938042f72dc20dc79f6ae2a.zip |
Adding more tests; checksum support
Diffstat (limited to 'cpp/src/Slice/Preprocessor.cpp')
-rw-r--r-- | cpp/src/Slice/Preprocessor.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/cpp/src/Slice/Preprocessor.cpp b/cpp/src/Slice/Preprocessor.cpp index 568bc075cf7..89a9874aac2 100644 --- a/cpp/src/Slice/Preprocessor.cpp +++ b/cpp/src/Slice/Preprocessor.cpp @@ -724,6 +724,18 @@ Slice::Preprocessor::printMakefileDependencies(ostream& out, Language lang, cons } break; } + case MATLAB: + { + // + // Change .o[bj] suffix to .m suffix. + // + string::size_type pos; + if((pos = result.find(suffix)) != string::npos) + { + result.replace(pos, suffix.size() - 1, ".m"); + } + break; + } default: { assert(false); |