summaryrefslogtreecommitdiff
path: root/colm/parser.h
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2013-04-14 11:59:22 -0400
committerAdrian Thurston <thurston@complang.org>2013-04-14 11:59:22 -0400
commitd8cf75e598caa001d03e14771cc900d40fa20b5e (patch)
tree9256fa930e01d0c19f547ab4bd047f032bf1e180 /colm/parser.h
parent9ded7ffab271affabe1a85cc31ddace7f3c13da4 (diff)
downloadcolm-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.h2
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 );