From fca843990f60312d6e6c1b8774988cc624364d42 Mon Sep 17 00:00:00 2001 From: Adrian Thurston Date: Sun, 8 Jul 2018 16:48:49 +0800 Subject: separating the input from stream type --- src/compiler.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/compiler.h') 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 */ -- cgit v1.2.1