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 /parse.h
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 'parse.h')
-rw-r--r--parse.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.h b/parse.h
index 7e74814..6909efe 100644
--- a/parse.h
+++ b/parse.h
@@ -25,7 +25,7 @@ enum statement_type {
};
struct statement {
- int type;
+ enum statement_type type;
struct token *token;
struct statement *next;
union {