workaround for not allowed construction: [] not on toplevel ...
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Mon, 26 Nov 2007 01:41:22 +0000 (01:41 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Mon, 26 Nov 2007 01:41:22 +0000 (01:41 +0000)
for now, use [1] and replace the whole thing by a list someday

[r18535]

ast_t.h

diff --git a/ast_t.h b/ast_t.h
index 7dd8480..50d0b6d 100644 (file)
--- 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;