aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@home.transmeta.com>2003-03-17 12:06:37 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 20:59:21 -0700
commit2540f9d534d34a6e4b018f94314d006ef3209d4c (patch)
tree033e5c8fe7ef6a940dfd1e802169023ed32d6c09 /test-parsing.c
parentImplement space-efficient allocator for small data structures. We (diff)
downloadsparse-2540f9d534d34a6e4b018f94314d006ef3209d4c.tar.gz
sparse-2540f9d534d34a6e4b018f94314d006ef3209d4c.tar.bz2
sparse-2540f9d534d34a6e4b018f94314d006ef3209d4c.zip
Add initial preprocessor pass (doesn't actually do much)
Make tokens know about newlines
Diffstat (limited to 'test-parsing.c')
-rw-r--r--test-parsing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-parsing.c b/test-parsing.c
index 94e5e70..7fa39bd 100644
--- a/test-parsing.c
+++ b/test-parsing.c
@@ -21,7 +21,7 @@ int main(int argc, char **argv)
die("No such file: %s", argv[1]);
init_symbols();
token = tokenize(argv[1], fd);
-
+ token = preprocess(token);
translation_unit(token, &list);
show_symbol_list(list);