summaryrefslogtreecommitdiff
path: root/src/program.h
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@colm.net>2017-07-27 12:11:13 -0400
committerAdrian Thurston <thurston@colm.net>2017-07-27 12:11:13 -0400
commit3f74fc17cee81774ddcc29c0a3560f81f7b60b7d (patch)
treedd3cc86a2cbc0b6eceb2755f084800718842fb1c /src/program.h
parent1395ab646772f3c37e3fbad207d9f12a9d3f3140 (diff)
downloadcolm-3f74fc17cee81774ddcc29c0a3560f81f7b60b7d.tar.gz
added a read_reduce statement to call postfix reducer
Triggers the generation of the reducer. Accepts a stream.
Diffstat (limited to 'src/program.h')
-rw-r--r--src/program.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/program.h b/src/program.h
index e3f747e0..3a7400bf 100644
--- a/src/program.h
+++ b/src/program.h
@@ -112,7 +112,7 @@ struct colm_sections
void (*init_need)();
int (*reducer_need_tok)( program_t *prg, struct pda_run *pda_run, int id );
int (*reducer_need_ign)( program_t *prg, struct pda_run *pda_run );
- void (*read_reduce)( program_t *prg, int reducer );
+ void (*read_reduce)( program_t *prg, int reducer, stream_t *stream );
};
struct heap_list