diff options
author | Benoit Foucher <benoit@zeroc.com> | 2009-02-18 16:53:43 +0100 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2009-02-18 16:53:43 +0100 |
commit | 5c047a3cab392814f72d56675e2864644bcc9da8 (patch) | |
tree | c2fd18e1571f99bea1ccdc3aa18646289139f055 /cpp/src/Slice/Parser.cpp | |
parent | Fix 3650 - Stop using POSIX functions on windows. (diff) | |
download | ice-5c047a3cab392814f72d56675e2864644bcc9da8.tar.bz2 ice-5c047a3cab392814f72d56675e2864644bcc9da8.tar.xz ice-5c047a3cab392814f72d56675e2864644bcc9da8.zip |
Fixed bug 3735 - recursive includes
Diffstat (limited to 'cpp/src/Slice/Parser.cpp')
-rw-r--r-- | cpp/src/Slice/Parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Slice/Parser.cpp b/cpp/src/Slice/Parser.cpp index 6f156992afc..79128bbdac7 100644 --- a/cpp/src/Slice/Parser.cpp +++ b/cpp/src/Slice/Parser.cpp @@ -5070,7 +5070,7 @@ Slice::Unit::scanPosition(const char* s) if(_currentLine == 0) { - if(currentFile != _topLevelFile) + if(_currentIncludeLevel > 0 || currentFile != _topLevelFile) { type = Push; line.erase(idx); |