diff options
author | 2003-03-19 18:55:25 -0700 | |
---|---|---|
committer | 2005-04-07 20:59:29 -0700 | |
commit | 6b6ce5ca1dd61c0a73bf855846ad2b02991825e7 (patch) | |
tree | 0a27fc040f039839139a511b4dc850b6ffe973fa /token.h | |
parent | Start tracking whether a stream may be constant or not. Very experimental. (diff) | |
download | sparse-6b6ce5ca1dd61c0a73bf855846ad2b02991825e7.tar.gz sparse-6b6ce5ca1dd61c0a73bf855846ad2b02991825e7.tar.bz2 sparse-6b6ce5ca1dd61c0a73bf855846ad2b02991825e7.zip |
Avoid re-tokenizing header files that are protected by
#ifndef X ... #endif X if X is already defined. This avoids
doing unnecessary work on duplicate includes.
Diffstat (limited to 'token.h')
-rw-r--r-- | token.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -17,7 +17,8 @@ struct stream { const char *name; /* Use these to check for "already parsed" */ - int constant; + int constant, nesting; + struct ident *protect; dev_t dev; ino_t ino; }; |