mirror of
https://github.com/cc65/cc65.git
synced 2025-01-13 09:31:53 +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:
parent
d5b3ff4bca
commit
8c62f6b417
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user