diff options
author | Linus Torvalds <torvalds@penguin.transmeta.com> | 2003-03-19 18:55:25 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-07 20:59:29 -0700 |
commit | 6b6ce5ca1dd61c0a73bf855846ad2b02991825e7 (patch) | |
tree | 0a27fc040f039839139a511b4dc850b6ffe973fa /test-lexing.c | |
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 'test-lexing.c')
-rw-r--r-- | test-lexing.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test-lexing.c b/test-lexing.c index e412e15..64f9e56 100644 --- a/test-lexing.c +++ b/test-lexing.c @@ -16,6 +16,7 @@ int main(int argc, char **argv) if (fd < 0) die("No such file: %s", argv[1]); + init_symbols(); token = tokenize(argv[1], fd, NULL); close(fd); token = preprocess(token); |