Replace multiple error reporting mechanisms with report_error
This commit is contained in:
1 parent
f9294f0e60
commit
fe0d910a7d
8 files changed
+70
-74
No files matched your search
+1
-1
@@ -87,7 +87,7 @@ template <> struct scanner<num> {
|
||||
hex = true;
|
||||
++it;
|
||||
}
|
||||
if (it != end && *it != '}') throw_format_error("invalid format");
|
||||
if (it != end && *it != '}') report_error("invalid format");
|
||||
return it;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user