Skip to content

Commit bcbc79c

Browse files
committed
bugfix in resume mode
1 parent 11768be commit bcbc79c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

hscript/Parser.hx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -702,6 +702,7 @@ class Parser {
702702
case "for":
703703
ensure(TPOpen);
704704
var eit = parseExpr();
705+
if( eit == null && resumeErrors ) return null;
705706
ensure(TPClose);
706707
var e = parseExpr();
707708
switch( expr(eit) ) {

0 commit comments

Comments
 (0)