diff options
author | Adrian Thurston <thurston@colm.net> | 2018-06-17 12:05:27 +0700 |
---|---|---|
committer | Adrian Thurston <thurston@colm.net> | 2018-06-17 12:05:27 +0700 |
commit | a52b5348f2a62d85e03e1fe24c67a9388aa29ab9 (patch) | |
tree | 2b6c415756ca3fc9f71c85a3bd10a0502c19f6fd /src/compiler.cc | |
parent | c441b29caba87edfa6953a72a64d0b90c68cf220 (diff) | |
download | colm-a52b5348f2a62d85e03e1fe24c67a9388aa29ab9.tar.gz |
some cleanup of types and names in the input subsystem
Diffstat (limited to 'src/compiler.cc')
-rw-r--r-- | src/compiler.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler.cc b/src/compiler.cc index 229b4ee8..a560d1d4 100644 --- a/src/compiler.cc +++ b/src/compiler.cc @@ -1002,7 +1002,7 @@ pda_run *Compiler::parsePattern( program_t *prg, tree_t **sp, const InputLoc &lo stream_t *stream = colm_stream_new_struct( prg ); stream->impl = sourceStream; - in->funcs->append_stream( in, (tree_t*)stream ); + in->funcs->append_stream( in, stream ); in->funcs->set_eof( in ); long pcr = colm_parse_loop( prg, sp, pdaRun, in, PCR_START ); |