]> git.sur5r.net Git - cc65/commitdiff
The type "enum x" was not handled correctly in sizeof statements and casts.
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 1 Aug 2003 21:29:42 +0000 (21:29 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 1 Aug 2003 21:29:42 +0000 (21:29 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2235 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/cc65/scanner.h

index 8e4072ae715c78a09015caf1fc2172b8d64c1651..59b00068fe57c75add067a313196b309f011b3a7 100644 (file)
@@ -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,