diff options
author | Adrian Thurston <thurston@colm.net> | 2018-07-09 17:20:54 +0800 |
---|---|---|
committer | Adrian Thurston <thurston@colm.net> | 2018-07-09 17:20:54 +0800 |
commit | a1e92870cc54d3daec9d94b38623167a5a653d9d (patch) | |
tree | da09c12891425e53f9ba07b1bc9cead181fa062c /src/struct.c | |
parent | ada8d5f7c5e8f7fd14c40b063db9f85ff253e40e (diff) | |
download | colm-a1e92870cc54d3daec9d94b38623167a5a653d9d.tar.gz |
removed parser from input, initting with input takes pointer to input_t
Diffstat (limited to 'src/struct.c')
-rw-r--r-- | src/struct.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/struct.c b/src/struct.c index 62c59923..5ee58ed3 100644 --- a/src/struct.c +++ b/src/struct.c @@ -164,7 +164,6 @@ 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_input_new( prg ); - parser->input->parser = parser; new_generic = (struct_t*) parser; break; } @@ -180,7 +179,6 @@ struct_t *colm_construct_reducer( program_t *prg, long generic_id, int reducer_i parser_t *parser = colm_parser_new( prg, generic_info, 0, reducer_id ); parser->input = colm_input_new( prg ); - parser->input->parser = parser; new_generic = (struct_t*) parser; return new_generic; |