SVN commit 620554 by cies: BUG 115555 fixed... M +2 -0 parser.cpp --- branches/KDE/3.5/kdeedu/kturtle/src/parser.cpp #620553:620554 @@ -927,6 +927,8 @@ if (currentToken.type == tokBegin) node->appendChild( Block() ); // if followed by a block else node->appendChild( Statement() ); // if followed by single statement + while (currentToken.type == tokEOL) getToken(); // allow the else keyword to be on later lines + if (currentToken.type == tokElse) // else part { matchToken(tokElse);