diff options
author | 2003-03-23 23:16:28 -0700 | |
---|---|---|
committer | 2005-04-07 20:59:39 -0700 | |
commit | f611dbc59b4f3f00a233ba89e268ab4845c4dde0 (patch) | |
tree | 97893ce330d6eda6526b9b19a18657efad60fd44 /test-parsing.c | |
parent | Oops, I got the "typeof" parsing wrong. It always needs parentheses (diff) | |
download | sparse-f611dbc59b4f3f00a233ba89e268ab4845c4dde0.tar.gz sparse-f611dbc59b4f3f00a233ba89e268ab4845c4dde0.tar.bz2 sparse-f611dbc59b4f3f00a233ba89e268ab4845c4dde0.zip |
Like other type definitions, typedefs too can have multiple
type entries, ie
typedef struct type type_t, *typep_t;
and we shouldn't just expect one.
Diffstat (limited to 'test-parsing.c')
-rw-r--r-- | test-parsing.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test-parsing.c b/test-parsing.c index ad7ba41..ce7ca15 100644 --- a/test-parsing.c +++ b/test-parsing.c @@ -23,6 +23,7 @@ char *includepath[] = { #if 1 "/home/torvalds/v2.5/linux/include/", "/home/torvalds/v2.5/linux/include/asm-i386/mach-default/", + "/home/torvalds/v2.5/linux/drivers/scsi/", #else "/usr/include/", "/usr/local/include/", @@ -69,9 +70,11 @@ int main(int argc, char **argv) // Parse the resulting C code translation_unit(token, &list); +#if 0 // Show the end result. show_symbol_list(list, "\n\n"); printf("\n\n"); +#endif // And show the allocation statistics show_ident_alloc(); |