summaryrefslogtreecommitdiff
path: root/trace_parser.hpp
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2010-11-19 20:41:18 +0000
committerJosé Fonseca <jfonseca@vmware.com>2010-11-19 20:41:18 +0000
commit501f286cc204a80469885da32c1ca87640ad91fc (patch)
treeed1967815503cd8a9db79a346321556c3238be78 /trace_parser.hpp
parentad3c5a413e06c812f553edc87f9ffb30441b63df (diff)
Start migrating to the visitor pattern.
Diffstat (limited to 'trace_parser.hpp')
-rw-r--r--trace_parser.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/trace_parser.hpp b/trace_parser.hpp
index 50f315c..221957b 100644
--- a/trace_parser.hpp
+++ b/trace_parser.hpp
@@ -59,7 +59,7 @@ public:
version = read_uint();
if (version != TRACE_VERSION) {
- std::cerr << "Unsupported format version" << version << "\n";
+ std::cerr << "error: unsupported format version" << version << "\n";
return false;
}
@@ -90,7 +90,7 @@ public:
break;
default:
assert(0);
- std::cerr << "Unknown call detail " << c << "\n";
+ std::cerr << "error: unknown call detail " << c << "\n";
break;
}
} while(true);
@@ -134,7 +134,7 @@ public:
case Trace::TYPE_VOID:
return NULL;
default:
- std::cerr << "Unknown type " << c << "\n";
+ std::cerr << "error: unknown type " << c << "\n";
assert(0);
return NULL;
}
@@ -194,7 +194,7 @@ public:
case Trace::TYPE_VOID:
goto done;
default:
- std::cerr << "Unexpected type " << c << "\n";
+ std::cerr << "error: uexpected type " << c << "\n";
assert(0);
return NULL;
}