continue bug in "for" thanks to broscutamaker
git-svn-id: http://picoc.googlecode.com/svn/trunk@596 21eae674-98b7-11dd-bd71-f92a316d2d60
This commit is contained in:
parent
b0455d52e4
commit
505f229419
4
parse.c
4
parse.c
|
@ -652,9 +652,13 @@ enum ParseResult ParseStatement(struct ParseState *Parser, int CheckTrailingSemi
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case TokenFor:
|
case TokenFor:
|
||||||
|
{
|
||||||
|
enum RunMode OldMode = Parser->Mode;
|
||||||
ParseFor(Parser);
|
ParseFor(Parser);
|
||||||
|
Parser->Mode = OldMode;
|
||||||
CheckTrailingSemicolon = FALSE;
|
CheckTrailingSemicolon = FALSE;
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
case TokenSemicolon:
|
case TokenSemicolon:
|
||||||
CheckTrailingSemicolon = FALSE;
|
CheckTrailingSemicolon = FALSE;
|
||||||
|
|
Loading…
Reference in a new issue