diff options
author | Adrian Thurston <thurston@complang.org> | 2015-05-15 12:22:51 -0400 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2015-05-15 12:22:51 -0400 |
commit | c98d2e9b47091c12deb747e111f7f1cd05a1f937 (patch) | |
tree | 5decdd801287425e2b27c285422e8c9da3b15415 /src/compiler.cc | |
parent | b05674c0aa0a63ae984fc8f8204bdb09d5e1dd9e (diff) | |
download | colm-c98d2e9b47091c12deb747e111f7f1cd05a1f937.tar.gz |
naming convention improvements
Diffstat (limited to 'src/compiler.cc')
-rw-r--r-- | src/compiler.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/compiler.cc b/src/compiler.cc index a87c2149..e2fcdca7 100644 --- a/src/compiler.cc +++ b/src/compiler.cc @@ -979,9 +979,9 @@ void Compiler::initEmptyScanners() } pda_run *Compiler::parsePattern( Program *prg, Tree **sp, const InputLoc &loc, - int parserId, StreamImpl *sourceStream ) + int parserId, struct stream_impl *sourceStream ) { - StreamImpl *in = colm_impl_new_generic( "<internal>" ); + struct stream_impl *in = colm_impl_new_generic( "<internal>" ); struct pda_run *pdaRun = new pda_run; colm_pda_init( prg, pdaRun, pdaTables, parserId, 0, false, 0 ); @@ -1024,13 +1024,13 @@ void Compiler::parsePatterns() for ( ConsList::Iter cons = replList; cons.lte(); cons++ ) { if ( cons->langEl != 0 ) { - StreamImpl *in = colm_impl_new_cons( "<internal>", cons ); + struct stream_impl *in = colm_impl_new_cons( "<internal>", cons ); cons->pdaRun = parsePattern( prg, sp, cons->loc, cons->langEl->parserId, in ); } } for ( PatList::Iter pat = patternList; pat.lte(); pat++ ) { - StreamImpl *in = colm_impl_new_pat( "<internal>", pat ); + struct stream_impl *in = colm_impl_new_pat( "<internal>", pat ); pat->pdaRun = parsePattern( prg, sp, pat->loc, pat->langEl->parserId, in ); } |