summaryrefslogtreecommitdiff
path: root/ast.c
diff options
context:
space:
mode:
authorSøren Sandmann <sandmann@redhat.com>2007-07-26 02:07:55 -0400
committerSøren Sandmann <sandmann@redhat.com>2007-07-26 02:07:55 -0400
commit2bcf1d1dc98c0e8cff1d6f8df25b9456abbb6092 (patch)
tree390e4d6df99e307ddb7f1123efacd72680c79e88 /ast.c
parent463b523d927dbc9cec326f1decf779917778b20d (diff)
Add list of children to ast_common_t
Diffstat (limited to 'ast.c')
-rw-r--r--ast.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ast.c b/ast.c
index 74ced6f..cbf588a 100644
--- a/ast.c
+++ b/ast.c
@@ -22,6 +22,7 @@ ast_new (ast_type_t type)
{
ast_t *ast = g_new0 (ast_t, 1);
ast->type = type;
+ ast->common.children = g_queue_new ();
return ast;
}