aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@home.transmeta.com>2003-03-26 11:22:12 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 20:59:49 -0700
commit90710c4bafaf5ed14975d8b6c73b9388942b4e7c (patch)
tree6b2460fa3f0c827d42e1c3d7229b4d40c294a0fa /test-parsing.c
parentPrint out array sizes correctly. (diff)
downloadsparse-90710c4bafaf5ed14975d8b6c73b9388942b4e7c.tar.gz
sparse-90710c4bafaf5ed14975d8b6c73b9388942b4e7c.tar.bz2
sparse-90710c4bafaf5ed14975d8b6c73b9388942b4e7c.zip
Make a function call point an expression type of its own, and
make the arguments use a proper argument list instead of being a comma-expression (which has totally different type semantics). Evaluate assignments and function calls (and their arguments). Show function calls in the debug info.
Diffstat (limited to 'test-parsing.c')
-rw-r--r--test-parsing.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test-parsing.c b/test-parsing.c
index b5ecb50..908a70c 100644
--- a/test-parsing.c
+++ b/test-parsing.c
@@ -60,6 +60,8 @@ static void simplify_statement(struct statement *stmt, struct symbol *fn)
evaluate_expression(stmt->case_to);
simplify_statement(stmt->case_statement, fn);
return;
+ default:
+ break;
}
}