summaryrefslogtreecommitdiff
path: root/src/struct.c
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@colm.net>2018-07-08 16:48:49 +0800
committerAdrian Thurston <thurston@colm.net>2018-07-08 16:48:49 +0800
commitfca843990f60312d6e6c1b8774988cc624364d42 (patch)
tree5da69c25666f41f49766dcd02729db04dcd6c265 /src/struct.c
parentdeb9efc408109ad13846d2d6d3b1fe0e2f62ddf2 (diff)
downloadcolm-fca843990f60312d6e6c1b8774988cc624364d42.tar.gz
separating the input from stream type
Diffstat (limited to 'src/struct.c')
-rw-r--r--src/struct.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/struct.c b/src/struct.c
index e7a998a4..62c59923 100644
--- a/src/struct.c
+++ b/src/struct.c
@@ -163,7 +163,7 @@ struct_t *colm_construct_generic( program_t *prg, long generic_id, int stop_id )
}
case GEN_PARSER: {
parser_t *parser = colm_parser_new( prg, generic_info, stop_id, 0 );
- parser->input = colm_stream_new( prg );
+ parser->input = colm_input_new( prg );
parser->input->parser = parser;
new_generic = (struct_t*) parser;
break;
@@ -179,7 +179,7 @@ struct_t *colm_construct_reducer( program_t *prg, long generic_id, int reducer_i
struct_t *new_generic = 0;
parser_t *parser = colm_parser_new( prg, generic_info, 0, reducer_id );
- parser->input = colm_stream_new( prg );
+ parser->input = colm_input_new( prg );
parser->input->parser = parser;
new_generic = (struct_t*) parser;