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/compiler.h | |
parent | deb9efc408109ad13846d2d6d3b1fe0e2f62ddf2 (diff) | |
download | colm-fca843990f60312d6e6c1b8774988cc624364d42.tar.gz |
separating the input from stream type
Diffstat (limited to 'src/compiler.h')
-rw-r--r-- | src/compiler.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/compiler.h b/src/compiler.h index 02b75916..46c33952 100644 --- a/src/compiler.h +++ b/src/compiler.h @@ -762,7 +762,7 @@ struct Compiler void prepGrammar(); struct pda_run *parsePattern( program_t *prg, tree_t **sp, const InputLoc &loc, - int parserId, struct stream_impl *sourceStream ); + int parserId, struct input_impl *sourceStream ); void parsePatterns(); void collectParserEls( LangElSet &parserEls ); @@ -1145,8 +1145,8 @@ ObjectMethod *initFunction( UniqueType *retType, Namespace *nspace, ObjectDef *o UniqueType *arg1, UniqueType *arg2, bool isConst, bool useFnInstr = false, GenericType *useGeneric = 0 ); -extern "C" struct stream_impl *colm_impl_new_pat( char *name, struct Pattern *pattern ); -extern "C" struct stream_impl *colm_impl_new_cons( char *name, struct Constructor *constructor ); +extern "C" struct input_impl *colm_impl_new_pat( char *name, struct Pattern *pattern ); +extern "C" struct input_impl *colm_impl_new_cons( char *name, struct Constructor *constructor ); #endif /* _COLM_PARSEDATA_H */ |