summaryrefslogtreecommitdiff
path: root/cpp/src/IcePack/Parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IcePack/Parser.cpp')
-rw-r--r--cpp/src/IcePack/Parser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/IcePack/Parser.cpp b/cpp/src/IcePack/Parser.cpp
index 821ded8ead3..4f174bb1246 100644
--- a/cpp/src/IcePack/Parser.cpp
+++ b/cpp/src/IcePack/Parser.cpp
@@ -375,7 +375,7 @@ IcePack::Parser::parse(FILE* file, bool debug)
yyin = file;
assert(yyin);
- _currentFile = "<standard input>";
+ _currentFile = "";
_currentLine = 0;
_continue = false;
nextLine();
@@ -404,7 +404,7 @@ IcePack::Parser::parse(const std::string& commands, bool debug)
assert(!_commands.empty());
yyin = 0;
- _currentFile = "<command line>";
+ _currentFile.clear();
_currentLine = 0;
_continue = false;
nextLine();