diff options
author | Mark Spruiell <mes@zeroc.com> | 2009-09-03 14:03:30 -0700 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2009-09-03 14:03:30 -0700 |
commit | ee4f02ccf6e41d1c453c124c7623f742c56b306e (patch) | |
tree | 797d2a2ba25d60f85a0fb503f64c959bb2ce9872 /py/modules/IcePy/Slice.cpp | |
parent | Partial fix for 4210 - Update to latest Berkeley DB 4.7.25 (diff) | |
download | ice-ee4f02ccf6e41d1c453c124c7623f742c56b306e.tar.bz2 ice-ee4f02ccf6e41d1c453c124c7623f742c56b306e.tar.xz ice-ee4f02ccf6e41d1c453c124c7623f742c56b306e.zip |
bug 4229 - generate Python docstrings
Diffstat (limited to 'py/modules/IcePy/Slice.cpp')
-rw-r--r-- | py/modules/IcePy/Slice.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/py/modules/IcePy/Slice.cpp b/py/modules/IcePy/Slice.cpp index a1743cb2ab1..d34605fa55f 100644 --- a/py/modules/IcePy/Slice.cpp +++ b/py/modules/IcePy/Slice.cpp @@ -128,12 +128,13 @@ IcePy_loadSlice(PyObject* /*self*/, PyObject* args) checksum = opts.isSet("checksum"); bool ignoreRedefs = false; + bool keepComments = true; for(vector<string>::const_iterator p = files.begin(); p != files.end(); ++p) { string file = *p; Slice::Preprocessor icecpp("icecpp", file, cppArgs); - FILE* cppHandle = icecpp.preprocess(false); + FILE* cppHandle = icecpp.preprocess(keepComments); if(cppHandle == 0) { |