summaryrefslogtreecommitdiff
path: root/src/pdarun.c
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@colm.net>2018-07-09 11:50:14 +0800
committerAdrian Thurston <thurston@colm.net>2018-07-09 11:50:14 +0800
commit600e5a8138c3587157294cbca844b60f714bb5e7 (patch)
tree6c8559e4a0032e99d260e75bc8be53253e63fc68 /src/pdarun.c
parenteda3bb6d45772bfe1d979d415568c515b896006c (diff)
downloadcolm-600e5a8138c3587157294cbca844b60f714bb5e7.tar.gz
select between parser/plain stream at compile time, switch to "_"
Now that we have multiple parser using the same stream it is not responsible to set a pointer to parser from stream and rely on that to decide where to send (or to check if it is a simple stream). Back to making the decision at compile time. Also switching from "stds" to "_".
Diffstat (limited to 'src/pdarun.c')
-rw-r--r--src/pdarun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pdarun.c b/src/pdarun.c
index 93c0aeee..91de3b93 100644
--- a/src/pdarun.c
+++ b/src/pdarun.c
@@ -156,7 +156,7 @@ void colm_stream_push_stream( struct colm_program *prg, struct input_impl *is, s
is->funcs->prepend_stream( prg, is, stream );
}
-void colm_undo_stream_push( program_t *prg, tree_t **sp, struct stream_impl *is, long length )
+void colm_undo_stream_push( program_t *prg, tree_t **sp, struct input_impl *is, long length )
{
if ( length < 0 ) {
/* tree_t *tree = */ is->funcs->undo_prepend_tree( prg, is );