diff options
author | Adrian Thurston <thurston@complang.org> | 2013-12-31 16:54:59 -0500 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2013-12-31 16:54:59 -0500 |
commit | ff77b00aa629ab9df563faee970d62100358baa8 (patch) | |
tree | 426ff837915a3e4a15a044f39bfb9ed79d7e86ea /src/parser.h | |
parent | 60e81bf16b38de449a207cb0383c3319a0e7a866 (diff) | |
download | colm-ff77b00aa629ab9df563faee970d62100358baa8.tar.gz |
store the current scope in LangStmt::ForLoop, use if creating triter var ref
Diffstat (limited to 'src/parser.h')
-rw-r--r-- | src/parser.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.h b/src/parser.h index d54ad62e..428c55bd 100644 --- a/src/parser.h +++ b/src/parser.h @@ -97,7 +97,7 @@ struct BaseParser PatternItemList *patListConcat( PatternItemList *list1, PatternItemList *list2 ); ConsItemList *consListConcat( ConsItemList *list1, ConsItemList *list2 ); LangStmt *forScope( const InputLoc &loc, const String &data, - TypeRef *typeRef, LangIterCall *iterCall, StmtList *stmtList ); + ObjNameScope *scope, TypeRef *typeRef, LangIterCall *iterCall, StmtList *stmtList ); void preEof( const InputLoc &loc, StmtList *stmtList, ObjectDef *localFrame ); ProdEl *prodElName( const InputLoc &loc, const String &data, |