From 0ec1c80221d05b96cd90ccc64281941ccbca47f0 Mon Sep 17 00:00:00 2001 From: Halen84 <55899402+Halen84@users.noreply.github.com> Date: Fri, 2 Aug 2024 20:45:37 -0500 Subject: [PATCH] Fix typo in parse_global.c In parse_def_ident() --- src/compiler/parse_global.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/parse_global.c b/src/compiler/parse_global.c index 32e070fd0..fd830aa38 100644 --- a/src/compiler/parse_global.c +++ b/src/compiler/parse_global.c @@ -1872,7 +1872,7 @@ static inline Decl *parse_def_ident(ParseContext *c) } else if (alias_type == TOKEN_TYPE_IDENT) { - PRINT_ERROR_HERE("A variable, constant or attribute name was expected here. If you want to define a new type, use 'typedef' instead."); + PRINT_ERROR_HERE("A variable, constant or attribute name was expected here. If you want to define a new type, use 'def' instead."); } else {