aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@penguin.transmeta.com>2003-05-16 15:27:35 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 21:00:40 -0700
commit840183b713383eda70a53d242b46ad94b63ab299 (patch)
tree4752312bd70d2bf382113f306b02645f8e66b7aa /parse.h
parentFix naming: "is_void_ptr()" did _not_ test for void pointers, (diff)
downloadsparse-840183b713383eda70a53d242b46ad94b63ab299.tar.gz
sparse-840183b713383eda70a53d242b46ad94b63ab299.tar.bz2
sparse-840183b713383eda70a53d242b46ad94b63ab299.zip
Add comments about special terator/switch statement symbols.
Add a "case" symbol for the switch statement, to let the statement keep track of all the cases. This cleans up handling a lot.
Diffstat (limited to 'parse.h')
-rw-r--r--parse.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.h b/parse.h
index 753970c..4d3a519 100644
--- a/parse.h
+++ b/parse.h
@@ -55,7 +55,7 @@ struct statement {
struct switch_struct {
struct expression *switch_expression;
struct statement *switch_statement;
- struct symbol *switch_break;
+ struct symbol *switch_break, *switch_case;
};
struct iterator_struct {
struct symbol *iterator_break;