diff options
author | Adrian Thurston <thurston@complang.org> | 2013-04-14 11:59:22 -0400 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2013-04-14 11:59:22 -0400 |
commit | d8cf75e598caa001d03e14771cc900d40fa20b5e (patch) | |
tree | 9256fa930e01d0c19f547ab4bd047f032bf1e180 /colm/parser.h | |
parent | 9ded7ffab271affabe1a85cc31ddace7f3c13da4 (diff) | |
download | colm-d8cf75e598caa001d03e14771cc900d40fa20b5e.tar.gz |
can now put '.' or 'eos' on the end of a send to finish a parser
Diffstat (limited to 'colm/parser.h')
-rw-r--r-- | colm/parser.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/colm/parser.h b/colm/parser.h index ed028065..55af2c4f 100644 --- a/colm/parser.h +++ b/colm/parser.h @@ -85,7 +85,7 @@ struct BaseParser LexFactorAug *lexFactorLabel( const InputLoc &loc, const String &data, LexFactorAug *factorAug ); LexJoin *lexOptJoin( LexJoin *join, LexJoin *context ); - LangExpr *send( const InputLoc &loc, LangVarRef *varRef, ConsItemList *list ); + LangExpr *send( const InputLoc &loc, LangVarRef *varRef, ConsItemList *list, bool eof ); LangExpr *parseCmd( const InputLoc &loc, bool stop, ObjectField *objField, TypeRef *typeRef, FieldInitVect *fieldInitVect, ConsItemList *list ); PatternItemList *patternEl( LangVarRef *varRef, PatternItemList *list ); |