Replace multiple error reporting mechanisms with report_error

This commit is contained in:
Victor Zverovich committed 2024-01-15 07:23:06 -08:00
1 parent f9294f0e60
commit fe0d910a7d
8 files changed
+70 -74

No files matched your search

+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;
}