diff options
| author | Linus Torvalds <torvalds@home.transmeta.com> | 2003-03-13 18:10:50 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-07 20:59:15 -0700 |
| commit | a9400ca17ec93398a39a69079f10f429d37de18b (patch) | |
| tree | 2c721188234b441b53f7f15b8ad01168d1c14249 /parse.h | |
| parent | 24104678556e6d8cc7ff3f775dfdd42c21c9f995 (diff) | |
| download | sparse-dev-a9400ca17ec93398a39a69079f10f429d37de18b.tar.gz | |
Start handling minimal semantic information, needed for types.
This adds a layer of symbol information on top of the raw tokens.
Diffstat (limited to 'parse.h')
| -rw-r--r-- | parse.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -7,6 +7,7 @@ enum expression_type { EXPR_DEREF, EXPR_PREOP, EXPR_POSTOP, + EXPR_CAST, }; struct expression { @@ -21,6 +22,10 @@ struct expression { struct expression *deref; struct token *member; }; + struct cast_arg { + struct expression *cast_type; + struct expression *cast_expression; + }; }; }; |
