1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-23 03:28:58 +00:00

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
This commit is contained in:
cuz 2003-08-01 21:29:42 +00:00
parent d5b3ff4bca
commit 8c62f6b417

View File

@ -60,13 +60,13 @@ typedef enum token_t {
TOK_RESTRICT, TOK_RESTRICT,
TOK_STATIC, TOK_STATIC,
TOK_TYPEDEF, TOK_TYPEDEF,
TOK_ENUM,
TOK_CONST, TOK_CONST,
TOK_VOLATILE, TOK_VOLATILE,
/* Tokens denoting types */ /* Tokens denoting types */
TOK_FIRSTTYPE, TOK_FIRSTTYPE,
TOK_CHAR = TOK_FIRSTTYPE, TOK_ENUM = TOK_FIRSTTYPE,
TOK_CHAR,
TOK_INT, TOK_INT,
TOK_DOUBLE, TOK_DOUBLE,
TOK_FLOAT, TOK_FLOAT,