From: cuz Date: Fri, 1 Aug 2003 21:29:42 +0000 (+0000) Subject: The type "enum x" was not handled correctly in sizeof statements and casts. X-Git-Tag: V2.12.0~1486 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8c62f6b41770cddd014c5d80b98d030dbba6a884;p=cc65 The type "enum x" was not handled correctly in sizeof statements and casts. git-svn-id: svn://svn.cc65.org/cc65/trunk@2235 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/cc65/scanner.h b/src/cc65/scanner.h index 8e4072ae7..59b00068f 100644 --- a/src/cc65/scanner.h +++ b/src/cc65/scanner.h @@ -60,13 +60,13 @@ typedef enum token_t { TOK_RESTRICT, TOK_STATIC, TOK_TYPEDEF, - TOK_ENUM, TOK_CONST, TOK_VOLATILE, /* Tokens denoting types */ TOK_FIRSTTYPE, - TOK_CHAR = TOK_FIRSTTYPE, + TOK_ENUM = TOK_FIRSTTYPE, + TOK_CHAR, TOK_INT, TOK_DOUBLE, TOK_FLOAT,