diff options
author | Linus Torvalds <torvalds@penguin.transmeta.com> | 2003-04-09 13:58:46 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-07 21:00:24 -0700 |
commit | c5dd7c8e714f9264e95dd9e376e4bba4c600c9f2 (patch) | |
tree | f99718015f96f16ccde30bc0b6befd8c29252cef /parse.h | |
parent | Don't warn about dereferences to noderef pointers - we don't know yet (diff) | |
download | sparse-c5dd7c8e714f9264e95dd9e376e4bba4c600c9f2.tar.gz sparse-c5dd7c8e714f9264e95dd9e376e4bba4c600c9f2.tar.bz2 sparse-c5dd7c8e714f9264e95dd9e376e4bba4c600c9f2.zip |
Turn 'break'/'continue' statements into goto's with
per-iterator anonymous symbols.
Make arrays also gracefully degenerate into "void *".
Diffstat (limited to 'parse.h')
-rw-r--r-- | parse.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -14,8 +14,6 @@ enum statement_type { STMT_COMPOUND, STMT_IF, STMT_RETURN, - STMT_BREAK, - STMT_CONTINUE, STMT_CASE, STMT_SWITCH, STMT_ITERATOR, @@ -57,6 +55,8 @@ struct statement { struct statement *switch_statement; }; struct iterator_struct { + struct symbol *break_symbol; + struct symbol *cont_symbol; struct statement *iterator_pre_statement; struct expression *iterator_pre_condition; |