From 07ea5259ac1cfe1ee2fcdd363fb75cc2cf251175 Mon Sep 17 00:00:00 2001 From: Greg King Date: Fri, 4 Sep 2020 12:06:42 -0400 Subject: [PATCH] Changed a cc65 error message to say that the sizes of bit-field types (not bit-fields) are limited. --- src/cc65/declare.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cc65/declare.c b/src/cc65/declare.c index 8d0a1097c..6c001c117 100644 --- a/src/cc65/declare.c +++ b/src/cc65/declare.c @@ -762,11 +762,11 @@ static int ParseFieldWidth (Declaration* Decl) } /* TODO: This can be relaxed to be any integral type, but - ** ParseStructInit currently only supports up to int. + ** ParseStructInit currently supports only up to int. */ if (SizeOf (Decl->Type) > SizeOf (type_uint)) { - /* Only int-sized or smaller types may be used for bit-fields for now */ - Error ("cc65 currently only supports char-sized and int-sized bit-fields"); + /* Only int-sized or smaller types may be used for bit-fields, for now */ + Error ("cc65 currently supports only char-sized and int-sized bit-field types"); return -1; }