1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-07 23:29:39 +00:00

Changed error/warning messages not using the term 'tentative' according to PR reviews.

This commit is contained in:
acqn 2020-08-05 00:19:28 +08:00 committed by Oliver Schmidt
parent b2d3b8379c
commit 43efc256f1

View File

@ -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));
}