From: Michael Beck Date: Mon, 26 Nov 2007 01:41:22 +0000 (+0000) Subject: workaround for not allowed construction: [] not on toplevel ... X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=8da6cc72f83aabec66aa9bd92a5ecdcbf6b2c06a;p=cparser workaround for not allowed construction: [] not on toplevel ... for now, use [1] and replace the whole thing by a list someday [r18535] --- diff --git a/ast_t.h b/ast_t.h index 7dd8480..50d0b6d 100644 --- a/ast_t.h +++ b/ast_t.h @@ -228,7 +228,7 @@ struct initializer_t { /* if type == INITIALIZER_LIST */ struct { size_t len; - initializer_t *initializers[]; + initializer_t *initializers[1]; } list; /* if type == INITIALIZER_STRING */ const char *string;