diff options
author | 2003-04-09 14:58:13 -0700 | |
---|---|---|
committer | 2005-04-07 21:00:25 -0700 | |
commit | 55aeb3022d3677d55f2ae7edf9fd272c23d313c4 (patch) | |
tree | 82427faed4a957de05971d2379b37d30eaf6e39a /parse.h | |
parent | Show iterators and goto's properly as pseudo-assembler. (diff) | |
download | sparse-55aeb3022d3677d55f2ae7edf9fd272c23d313c4.tar.gz sparse-55aeb3022d3677d55f2ae7edf9fd272c23d313c4.tar.bz2 sparse-55aeb3022d3677d55f2ae7edf9fd272c23d313c4.zip |
Show if/label/asm statements in a saner format.
Parse break-statements inside switch-statements correctly.
Rename break/continue symbols to make switch/iterator statements
have the same naming logic for the break targets.
Diffstat (limited to 'parse.h')
-rw-r--r-- | parse.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -53,10 +53,11 @@ struct statement { struct switch_struct { struct expression *switch_expression; struct statement *switch_statement; + struct symbol *switch_break; }; struct iterator_struct { - struct symbol *break_symbol; - struct symbol *cont_symbol; + struct symbol *iterator_break; + struct symbol *iterator_continue; struct statement *iterator_pre_statement; struct expression *iterator_pre_condition; |