Replace multiple error reporting mechanisms with report_error

This commit is contained in:
Victor Zverovich
2024-01-15 06:48:10 -08:00
parent f9294f0e60
commit fe0d910a7d
8 changed files with 70 additions and 74 deletions
+1 -1
View File
@@ -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;
}