diff options
author | Adrian Thurston <thurston@colm.net> | 2018-07-09 16:18:17 +0800 |
---|---|---|
committer | Adrian Thurston <thurston@colm.net> | 2018-07-09 16:24:47 +0800 |
commit | ada8d5f7c5e8f7fd14c40b063db9f85ff253e40e (patch) | |
tree | eac31dc87fdc2b9fa8f5ea4f222cdba83dee746c /src/bytecode.c | |
parent | 4150c4e0759b0753b1ce579be39df6c4afc91e8a (diff) | |
download | colm-ada8d5f7c5e8f7fd14c40b063db9f85ff253e40e.tar.gz |
don't supply pda_run to input->pull, breaking input->parser link
Diffstat (limited to 'src/bytecode.c')
-rw-r--r-- | src/bytecode.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/bytecode.c b/src/bytecode.c index c49952d7..f3457c97 100644 --- a/src/bytecode.c +++ b/src/bytecode.c @@ -2692,9 +2692,7 @@ again: input_t *input = vm_pop_input(); tree_t *len = vm_pop_tree(); - //struct pda_run *pda_run = input->parser != 0 ? input->parser->pda_run : 0; - struct pda_run *pda_run = input->parser != 0 ? input->parser->pda_run : 0; - tree_t *string = stream_pull_bc( prg, sp, pda_run, input, len ); + tree_t *string = stream_pull_bc( prg, sp, 0, input, len ); colm_tree_upref( prg, string ); vm_push_tree( string ); @@ -2713,9 +2711,7 @@ again: input_t *input = vm_pop_input(); tree_t *len = vm_pop_tree(); - //struct pda_run *pda_run = input->parser != 0 ? input->parser->pda_run : 0; - struct pda_run *pda_run = input->parser != 0 ? input->parser->pda_run : 0; - tree_t *string = stream_pull_bc( prg, sp, pda_run, input, len ); + tree_t *string = stream_pull_bc( prg, sp, 0, input, len ); colm_tree_upref( prg, string ); vm_push_tree( string ); |