aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@penguin.transmeta.com>2003-03-31 14:28:07 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 20:59:56 -0700
commit89ca8a623968d3f4fb06668693f45aabf1418c59 (patch)
tree8a30e9640c4cea995972309cfcf3f0d336cada76 /parse.h
parentParse array initializer index specifiers: (diff)
downloadsparse-89ca8a623968d3f4fb06668693f45aabf1418c59.tar.gz
sparse-89ca8a623968d3f4fb06668693f45aabf1418c59.tar.bz2
sparse-89ca8a623968d3f4fb06668693f45aabf1418c59.zip
Remove last user of "struct token" from "struct expression".
Now constant expressions (strings, integers and fp constants) are evaluated at parse-time into the proper EXPR_xxx type. Remove "struct token" from "struct statement", which really only wanted to know the position. So replace it with "struct position".
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 6909efe..f7d3392 100644
--- a/parse.h
+++ b/parse.h
@@ -26,7 +26,7 @@ enum statement_type {
struct statement {
enum statement_type type;
- struct token *token;
+ struct position pos;
struct statement *next;
union {
struct label_arg {