diff options
author | Linus Torvalds <torvalds@home.transmeta.com> | 2003-03-30 22:02:01 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-07 20:59:54 -0700 |
commit | c6555e8346ccaadb00d1fbe1e2ac83c452f4750b (patch) | |
tree | 33be2fcc1372be8604b375ff94f2d2e2c7f89b96 /expression.c | |
parent | Introduce a "struct position", and have the different types refer (diff) | |
download | sparse-c6555e8346ccaadb00d1fbe1e2ac83c452f4750b.tar.gz sparse-c6555e8346ccaadb00d1fbe1e2ac83c452f4750b.tar.bz2 sparse-c6555e8346ccaadb00d1fbe1e2ac83c452f4750b.zip |
A structure member is just an identifier, not a random token.
Diffstat (limited to 'expression.c')
-rw-r--r-- | expression.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/expression.c b/expression.c index 2062f88..aff176b 100644 --- a/expression.c +++ b/expression.c @@ -151,7 +151,7 @@ static struct token *postfix_expression(struct token *token, struct expression * warn(token->pos, "Expected member name"); break; } - deref->member = token; + deref->member = token->ident; token = token->next; expr = deref; continue; |