diff options
author | Adrian Thurston <thurston@colm.net> | 2018-07-08 16:48:49 +0800 |
---|---|---|
committer | Adrian Thurston <thurston@colm.net> | 2018-07-08 16:48:49 +0800 |
commit | fca843990f60312d6e6c1b8774988cc624364d42 (patch) | |
tree | 5da69c25666f41f49766dcd02729db04dcd6c265 /src/fsmcodegen.cc | |
parent | deb9efc408109ad13846d2d6d3b1fe0e2f62ddf2 (diff) | |
download | colm-fca843990f60312d6e6c1b8774988cc624364d42.tar.gz |
separating the input from stream type
Diffstat (limited to 'src/fsmcodegen.cc')
-rw-r--r-- | src/fsmcodegen.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fsmcodegen.cc b/src/fsmcodegen.cc index de089ec9..89a52f9a 100644 --- a/src/fsmcodegen.cc +++ b/src/fsmcodegen.cc @@ -848,7 +848,7 @@ void FsmCodeGen::writeExec() setLabelsNeeded(); out << - "static void fsm_execute( struct pda_run *pdaRun, struct stream_impl *inputStream )\n" + "static void fsm_execute( struct pda_run *pdaRun, struct input_impl *inputStream )\n" "{\n" " " << BLOCK_START() << " = pdaRun->p;\n" "/*_resume:*/\n"; @@ -901,7 +901,7 @@ void FsmCodeGen::writeCode() * should use the preprocessor to make these go away. */ out << "static void sendNamedLangEl( struct colm_program *prg, tree_t **tree,\n" - " struct pda_run *pdaRun, struct stream_impl *inputStream ) { }\n" + " struct pda_run *pda_run, struct input_impl *input ) { }\n" "static void initBindings( struct pda_run *pdaRun ) {}\n" "static void popBinding( struct pda_run *pdaRun, parse_tree_t *tree ) {}\n" "\n" |