summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/IcePack/Parser.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/src/IcePack/Parser.cpp b/cpp/src/IcePack/Parser.cpp
index 06386e17e19..394fd143def 100644
--- a/cpp/src/IcePack/Parser.cpp
+++ b/cpp/src/IcePack/Parser.cpp
@@ -216,6 +216,7 @@ IcePack::Parser::getInput(char* buf, int result, int maxSize)
error("input in flex scanner failed");
buf[0] = EOF;
result = 1;
+ return;
}
result = n;
@@ -230,6 +231,9 @@ IcePack::Parser::getInput(char* buf, int result, int maxSize)
result = 1;
}
}
+
+ cout << buf << endl;
+ cout << result << endl;
}
void