diff options
| author | Linus Torvalds <torvalds@home.transmeta.com> | 2003-05-31 17:21:09 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-07 21:00:47 -0700 |
| commit | 047821f7db2a4c4dd348bbc30d1cbcd46d404e5a (patch) | |
| tree | a00e0288eecf1218d6270900fcc954f387242ff6 /parse.h | |
| parent | 32dc632cf37e8a7a9443e6b38085420ec74ac9ac (diff) | |
| download | sparse-dev-047821f7db2a4c4dd348bbc30d1cbcd46d404e5a.tar.gz | |
Make function returns a bit more realistic
Diffstat (limited to 'parse.h')
| -rw-r--r-- | parse.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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; |
