[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/3.5/kdeedu/kturtle/src
From:       Cies Breijs <cies () kde ! nl>
Date:       2007-01-06 15:58:11
Message-ID: 1168099091.398357.16192.nullmailer () svn ! kde ! org
[Download RAW message or body]

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);
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic