aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/parse.h
diff options
authorLinus Torvalds <torvalds@penguin.transmeta.com>2003-03-14 17:08:12 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 20:59:16 -0700
commit2d76ef523eb4606a60b7e95fd67b4c6d302a2b16 (patch)
tree071211260972d1010dad6e64446b224dea96922c /parse.h
parentffa4ddda950185bf313654e903207a3fc2d5f261 (diff)
downloadsparse-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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/parse.h b/parse.h
index c3c7f0fc..302d8ff8 100644
--- a/parse.h
+++ b/parse.h
@@ -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 */