aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/parse.h
diff options
authorLinus Torvalds <torvalds@home.transmeta.com>2003-05-31 17:21:09 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 21:00:47 -0700
commit047821f7db2a4c4dd348bbc30d1cbcd46d404e5a (patch)
treea00e0288eecf1218d6270900fcc954f387242ff6 /parse.h
parent32dc632cf37e8a7a9443e6b38085420ec74ac9ac (diff)
downloadsparse-dev-047821f7db2a4c4dd348bbc30d1cbcd46d404e5a.tar.gz
Make function returns a bit more realistic
Diffstat (limited to 'parse.h')
-rw-r--r--parse.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/parse.h b/parse.h
index d6e223a2..8dee1939 100644
--- a/parse.h
+++ b/parse.h
@@ -33,6 +33,10 @@ struct statement {
struct statement *label_statement;
};
struct expression *expression;
+ struct return_statement {
+ struct expression *ret_value;
+ struct symbol *ret_target;
+ };
struct if_statement {
struct expression *if_conditional;
struct statement *if_true;
@@ -41,6 +45,7 @@ struct statement {
struct compound_struct {
struct symbol_list *syms;
struct statement_list *stmts;
+ struct symbol *ret;
};
struct labeled_struct {
struct symbol *label_identifier;