diff options
| author | Linus Torvalds <torvalds@home.transmeta.com> | 2003-03-18 13:44:15 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-07 20:59:24 -0700 |
| commit | e94aa8a0001e135fef59c53001c96f5b50677631 (patch) | |
| tree | 0987ff24f5a100538d72c25c74c8d0cb38a0cbe0 /test-parsing.c | |
| parent | ca8141026e71409ba0d7172ee34ceee74039ddb3 (diff) | |
| download | sparse-dev-e94aa8a0001e135fef59c53001c96f5b50677631.tar.gz | |
Whitespace and comment fixes for testers
Diffstat (limited to 'test-parsing.c')
| -rw-r--r-- | test-parsing.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test-parsing.c b/test-parsing.c index 9f2d1dd3..3abcbfd0 100644 --- a/test-parsing.c +++ b/test-parsing.c @@ -20,11 +20,20 @@ int main(int argc, char **argv) if (fd < 0) die("No such file: %s", argv[1]); init_symbols(); + + // Tokenize the input stream token = tokenize(argv[1], fd, NULL); + + // Pre-process the stream token = preprocess(token); + + // Parse the resulting C code translation_unit(token, &list); + + // Show the end result. show_symbol_list(list); + // And show the allocation statistics show_ident_alloc(); show_token_alloc(); show_symbol_alloc(); |
