diff options
| author | Linus Torvalds <torvalds@penguin.transmeta.com> | 2003-03-14 17:08:12 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-07 20:59:16 -0700 |
| commit | 2d76ef523eb4606a60b7e95fd67b4c6d302a2b16 (patch) | |
| tree | 071211260972d1010dad6e64446b224dea96922c /parse.h | |
| parent | ffa4ddda950185bf313654e903207a3fc2d5f261 (diff) | |
| download | sparse-dev-2d76ef523eb4606a60b7e95fd67b4c6d302a2b16.tar.gz | |
Add more type parsing: function and array declarators, function
parameter lists etc. It can now parse things like
const volatile int hello(const int (*argc)(void), const char *const* argv);
apparently correctly.
Diffstat (limited to 'parse.h')
| -rw-r--r-- | parse.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -55,5 +55,7 @@ struct statement { extern struct token *parse_expression(struct token *, struct expression **); extern struct token *statement_list(struct token *, struct statement **); extern void show_expression(struct expression *); +extern struct token *translation_unit(struct token *, struct symbol **); +extern struct token * translation_unit(struct token *, struct symbol **); #endif /* PARSE_H */ |
