diff options
author | Søren Sandmann <sandmann@redhat.com> | 2007-07-24 01:10:39 -0400 |
---|---|---|
committer | Søren Sandmann <sandmann@redhat.com> | 2007-07-24 01:10:39 -0400 |
commit | 5154c1665eafc7ebf11243cbbb9109a2ea2a8b78 (patch) | |
tree | a6538bba9e202471fd6e909ab962c40cd00f945d /ast.c | |
parent | 1f97dc09b0987f9f0d889e7b4bf2937de7524bf0 (diff) |
Delete child statement from labels; update TODO
Diffstat (limited to 'ast.c')
-rw-r--r-- | ast.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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; } |