projects
/
platform
/
upstream
/
isl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b575834
)
isl_token: change type of "type" field from enum isl_token_type to int
author
Sven Verdoolaege
<skimo@kotnet.org>
Wed, 29 Feb 2012 17:54:28 +0000
(18:54 +0100)
committer
Sven 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
patch
|
blob
|
history
diff --git
a/include/isl/stream.h
b/include/isl/stream.h
index
7c19299
..
90b92f7
100644
(file)
--- a/
include/isl/stream.h
+++ b/
include/isl/stream.h
@@
-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;