aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2004-06-06 23:49:57 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 21:02:04 -0700
commitd3217ff05115ccae31dd463a9f30f708b9cb8dd2 (patch)
tree7c2844f56caa93eba65ebddba8c8fba2fe33626e /pre-process.c
parent[PATCH] Fix preprocessor expansion anti-recursion properly (diff)
downloadsparse-d3217ff05115ccae31dd463a9f30f708b9cb8dd2.tar.gz
sparse-d3217ff05115ccae31dd463a9f30f708b9cb8dd2.tar.bz2
sparse-d3217ff05115ccae31dd463a9f30f708b9cb8dd2.zip
Oops. Al forgot to handle the new TOKEN_UNTAINT in token
comparison.
Diffstat (limited to 'pre-process.c')
-rw-r--r--pre-process.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pre-process.c b/pre-process.c
index d2f77ec..f7d6735 100644
--- a/pre-process.c
+++ b/pre-process.c
@@ -615,6 +615,7 @@ static int token_different(struct token *t1, struct token *t2)
switch (token_type(t1)) {
case TOKEN_IDENT:
+ case TOKEN_UNTAINT:
different = t1->ident != t2->ident;
break;
case TOKEN_NUMBER: