diff options
Diffstat (limited to 'cpp/src/Slice/Parser.cpp')
-rw-r--r-- | cpp/src/Slice/Parser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Slice/Parser.cpp b/cpp/src/Slice/Parser.cpp index 63a7da6e124..58da790bea5 100644 --- a/cpp/src/Slice/Parser.cpp +++ b/cpp/src/Slice/Parser.cpp @@ -1664,7 +1664,7 @@ Slice::Unit::currentIncludeLevel() void Slice::Unit::error(const char* s) { - cerr << _currentFile << ':' << _currentLine << " error: " << s << endl; + cerr << _currentFile << ':' << _currentLine << ": " << s << endl; yynerrs++; } @@ -1677,7 +1677,7 @@ Slice::Unit::error(const string& s) void Slice::Unit::warning(const char* s) { - cerr << _currentFile << ':' << _currentLine << " warning: " << s << endl; + cerr << _currentFile << ':' << _currentLine << ": warning: " << s << endl; } void |