summaryrefslogtreecommitdiff
path: root/src/pdarun.c
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2015-10-05 11:15:52 -0400
committerAdrian Thurston <thurston@complang.org>2015-10-05 11:21:55 -0400
commit904ac5cc1675b19249750e3f5492cba720dda4c5 (patch)
tree097fa6eb549809d993ec3ba2e89fdc658becc598 /src/pdarun.c
parentf19e2b452e5dc2a14a48fe71fa26796b5678b147 (diff)
downloadcolm-904ac5cc1675b19249750e3f5492cba720dda4c5.tar.gz
added syntax dedicated to reductions
This avoids interferrence with existing parsing code. Calling the commit/reduce code only if the reduce construct is used.
Diffstat (limited to 'src/pdarun.c')
-rw-r--r--src/pdarun.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/pdarun.c b/src/pdarun.c
index 30e14e14..68cbe280 100644
--- a/src/pdarun.c
+++ b/src/pdarun.c
@@ -56,9 +56,6 @@
i = (tree_t*)w; \
} while(0)
-void commit_reduce( program_t *prg, tree_t **root, struct pda_run *pda_run );
-void commit_clear( program_t *prg, tree_t **root, struct pda_run *pda_run );
-
static void init_fsm_run( program_t *prg, struct pda_run *pda_run )
{
pda_run->fsm_tables = prg->rtd->fsm_tables;