From 43efc256f16c96d27a750793547b8d99e4fada66 Mon Sep 17 00:00:00 2001 From: acqn Date: Wed, 5 Aug 2020 00:19:28 +0800 Subject: [PATCH] Changed error/warning messages not using the term 'tentative' according to PR reviews. --- src/cc65/compile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cc65/compile.c b/src/cc65/compile.c index 5332caedb..d045473ff 100644 --- a/src/cc65/compile.c +++ b/src/cc65/compile.c @@ -449,7 +449,7 @@ void Compile (const char* FileName) /* Assume array size of 1 */ SetElementCount (Entry->Type, 1); Size = SizeOf (Entry->Type); - Warning ("Tentative array '%s[]' assumed to have one element", Entry->Name); + Warning ("Incomplete array '%s[]' assumed to have one element", Entry->Name); } Sym = GetSymType (GetElementType (Entry->Type)); @@ -474,7 +474,7 @@ void Compile (const char* FileName) Entry->Flags |= SC_DEF; } else { /* Tentative declared variable is still of incomplete type */ - Error ("Tentative definition of '%s' of type '%s' is incomplete", + Error ("Definition of '%s' has type '%s' that is never completed", Entry->Name, GetFullTypeName (Entry->Type)); }