This commit is contained in:
dom96 2011-04-04 23:12:24 +01:00
commit ffd05510bd
2 changed files with 19 additions and 2 deletions

View file

@ -765,8 +765,8 @@ proc parseExprStmt(p: var TParser): PNode =
addSon(result, a)
getTok(p)
skipComment(p, result)
if (p.tok.tokType == tkInd) or
not (p.tok.TokType in {tkOf, tkElif, tkElse, tkExcept}):
if p.tok.tokType == tkSad: getTok(p)
if not (p.tok.TokType in {tkOf, tkElif, tkElse, tkExcept}):
addSon(result, parseStmt(p))
while true:
if p.tok.tokType == tkSad: getTok(p)