From kde-commits Sat Jan 06 15:58:11 2007 From: Cies Breijs Date: Sat, 06 Jan 2007 15:58:11 +0000 To: kde-commits Subject: branches/KDE/3.5/kdeedu/kturtle/src Message-Id: <1168099091.398357.16192.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=116809910105679 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);