aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@home.transmeta.com>2003-04-04 22:28:30 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 21:00:14 -0700
commit8f827dfd41fba8f6772fbef65239a6f14f05cc0b (patch)
treea912e130f934824a9cda1015638e028845e3da4a /token.h
parentSimplify typedef testing, and don't mess with MOD_EXTERNAL testing (diff)
downloadsparse-8f827dfd41fba8f6772fbef65239a6f14f05cc0b.tar.gz
sparse-8f827dfd41fba8f6772fbef65239a6f14f05cc0b.tar.bz2
sparse-8f827dfd41fba8f6772fbef65239a6f14f05cc0b.zip
Add a "preprocessing" flag, so that the expression evaluator can
take the semantic differences into account (a undefined symbol behaves differently in a C parse tree than in a preprocessor expression)
Diffstat (limited to 'token.h')
-rw-r--r--token.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/token.h b/token.h
index db61c06..21db2aa 100644
--- a/token.h
+++ b/token.h
@@ -134,6 +134,7 @@ struct token {
* This allows us to not test for NULL pointers
* when following the token->next chain..
*/
+extern int preprocessing;
extern struct token eof_token_entry;
#define eof_token(x) ((x) == &eof_token_entry)