isl_token: change type of "type" field from enum isl_token_type to int
authorSven Verdoolaege <skimo@kotnet.org>
Wed, 29 Feb 2012 17:54:28 +0000 (18:54 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Tue, 6 Mar 2012 13:33:05 +0000 (14:33 +0100)
The field is also assigned values outside the enum.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
include/isl/stream.h

index 7c19299..90b92f7 100644 (file)
@@ -37,7 +37,7 @@ enum isl_token_type { ISL_TOKEN_ERROR = -1,
                        ISL_TOKEN_LAST };
 
 struct isl_token {
-       enum isl_token_type  type;
+       int type;
 
        unsigned int on_new_line : 1;
        unsigned is_keyword : 1;