aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Triplett <josh@freedesktop.org>2007-03-07 21:40:15 -0800
committerJosh Triplett <josh@freedesktop.org>2007-03-07 21:40:15 -0800
commitaf30c6df74f01db10fa78ac0cbdb5c3c40b5c73f (patch)
tree32983dd28adb96057d7e84dcbca727c62dea9235 /token.h
parentMoving statement parsing into smaller functions. (diff)
downloadsparse-af30c6df74f01db10fa78ac0cbdb5c3c40b5c73f.tar.gz
sparse-af30c6df74f01db10fa78ac0cbdb5c3c40b5c73f.tar.bz2
sparse-af30c6df74f01db10fa78ac0cbdb5c3c40b5c73f.zip
Free up some special bits in modifiers.
This change using symbol_op to contain the specifier parsing function. It is easier to add new specifiers. We don't need special bits any more. Signed-Off-By: Christopher Li <sparse@chrisli.org> Acked-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Josh Triplett <josh@freedesktop.org>
Diffstat (limited to 'token.h')
-rw-r--r--token.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/token.h b/token.h
index d60bb46..4c71dbd 100644
--- a/token.h
+++ b/token.h
@@ -54,7 +54,8 @@ struct ident {
struct symbol *symbols; /* Pointer to semantic meaning list */
unsigned char len; /* Length of identifier name */
unsigned char tainted:1,
- reserved:1;
+ reserved:1,
+ keyword:1;
char name[]; /* Actual identifier */
};