diff options
| author | Linus Torvalds <torvalds@penguin.transmeta.com> | 2003-04-04 17:12:42 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-07 21:00:12 -0700 |
| commit | 9aac322fe706341b6fcccedc8c21075ee7c65940 (patch) | |
| tree | c98c481ca3753a2b994459f2039797b500812958 | |
| parent | fe88e935a0f88c7c877308152ad2d63dec582587 (diff) | |
| download | sparse-dev-9aac322fe706341b6fcccedc8c21075ee7c65940.tar.gz | |
Whee.. Arrays of arrays were type-parsed quite wrong. Maybe
this fixes it, and maybe it doesn't.
| -rw-r--r-- | parse.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -440,6 +440,7 @@ static struct token *direct_declarator(struct token *token, struct symbol **tree struct symbol *array = indirect(token->pos, ctype, SYM_ARRAY); token = abstract_array_declarator(token->next, array); token = expect(token, ']', "in abstract_array_declarator"); + ctype = &array->ctype; continue; } if (token->special == ':') { |
