aboutsummaryrefslogtreecommitdiff
path: root/src/parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser.cpp')
-rw-r--r--src/parser.cpp2
1 files changed, 1 insertions, 1 deletions
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<Ast *> convert_to_ident_list(AstFile *f, Array<AstAndFlags> li
default:
- syntax_error(ident, "Expected an identifier, %d", ident->kind);
+ syntax_error(ident, "Expected an identifier");
ident = ast_ident(f, blank_token);
break;
}