diff --git a/src/parser.cpp b/src/parser.cpp index 31d41a511..6a9481693 100644 --- a/src/parser.cpp +++ b/src/parser.cpp @@ -4020,7 +4020,7 @@ gb_internal Array convert_to_ident_list(AstFile *f, Array li default: - syntax_error(ident, "Expected an identifier, %d", ident->kind); + syntax_error(ident, "Expected an identifier"); ident = ast_ident(f, blank_token); break; }