summaryrefslogtreecommitdiff
path: root/ast.c
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <ssp@l3000.localdomain>2009-11-16 03:30:44 -0500
committerSøren Sandmann Pedersen <ssp@l3000.localdomain>2009-11-16 03:30:44 -0500
commit84a716faf8c2457808d79782cec39df72b7d7e0d (patch)
treed27428c883ad91b081da6495fd47e22478dc8c27 /ast.c
parent46492a98191be7da6b6c8217e056b554dbddeeb5 (diff)
Add Knuth's man-or-boy test
Diffstat (limited to 'ast.c')
-rw-r--r--ast.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ast.c b/ast.c
index 66ca4a1..55e21f0 100644
--- a/ast.c
+++ b/ast.c
@@ -23,6 +23,8 @@ ast_new (ast_type_t type)
ast_t *ast = g_new0 (ast_t, 1);
ast->type = type;
ast->common.children = g_queue_new ();
+ ast->common.predecessors = g_queue_new ();
+ ast->common.successors = g_queue_new ();
return ast;
}