summaryrefslogtreecommitdiff
path: root/cpp/src/Slice/Parser.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2009-02-18 16:53:43 +0100
committerBenoit Foucher <benoit@zeroc.com>2009-02-18 16:53:43 +0100
commit5c047a3cab392814f72d56675e2864644bcc9da8 (patch)
treec2fd18e1571f99bea1ccdc3aa18646289139f055 /cpp/src/Slice/Parser.cpp
parentFix 3650 - Stop using POSIX functions on windows. (diff)
downloadice-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.cpp2
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);