From 8c62f6b41770cddd014c5d80b98d030dbba6a884 Mon Sep 17 00:00:00 2001 From: cuz Date: Fri, 1 Aug 2003 21:29:42 +0000 Subject: [PATCH] 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 --- src/cc65/scanner.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, -- 2.39.5