Merge develop into fix/issue-5993

Signed-off-by: Niels Lohmann <mail@nlohmann.me>
This commit is contained in:
Niels Lohmann committed 2026-11-02 20:07:52 +01:00
commit 8c1421d493
6 files changed
+30 -30

No files matched your search

+1 -5
View File
@@ -23802,11 +23802,7 @@ class parser
std::string exception_message(const token_type expected, const std::string& context)
{
std::string error_msg = "syntax error ";
error_msg += concat("while parsing ", context, ' ');
error_msg += "- ";
std::string error_msg = concat("syntax error while parsing ", context, " - ");
if (last_token == token_type::parse_error)
{