summaryrefslogtreecommitdiff
path: root/ast.c
diff options
context:
space:
mode:
authorSøren Sandmann <sandmann@redhat.com>2007-07-24 01:10:39 -0400
committerSøren Sandmann <sandmann@redhat.com>2007-07-24 01:10:39 -0400
commit5154c1665eafc7ebf11243cbbb9109a2ea2a8b78 (patch)
treea6538bba9e202471fd6e909ab962c40cd00f945d /ast.c
parent1f97dc09b0987f9f0d889e7b4bf2937de7524bf0 (diff)
Delete child statement from labels; update TODO
Diffstat (limited to 'ast.c')
-rw-r--r--ast.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ast.c b/ast.c
index 444acd7..74ced6f 100644
--- a/ast.c
+++ b/ast.c
@@ -150,13 +150,11 @@ ast_statement_new_goto (const char *label)
}
ast_statement_t *
-ast_statement_new_label (const char *name,
- ast_statement_t *statement)
+ast_statement_new_label (const char *name)
{
ast_statement_t *label = statement_new (AST_LABEL_STATEMENT);
label->label.label = g_strdup (name);
- label->label.statement = statement;
return label;
}