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

List:       kde-commits
Subject:    KDE/kdebindings/kalyptus
From:       Richard Dale <Richard_Dale () tipitina ! demon ! co ! uk>
Date:       2007-09-13 19:27:53
Message-ID: 1189711673.445776.32684.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 712155 by rdale:

* Things I didn't know about C++, #39786 - the 'namespace' keyword is optional in
  'using' statement and the kservice.h header had an example of one of these.
* Fixes problem reported by hdh on the #kde4-devel irc channel



 M  +2 -2      kalyptus  


--- trunk/KDE/kdebindings/kalyptus/kalyptus #712154:712155
@@ -970,8 +970,8 @@
 		$skipBlock = 1; # FIXME check end token before doing this!
 	}
 	# Using: import namespace
-	elsif ( $decl =~ /^\s*using\s+namespace\s+(\w+)/ ) {
-		newNamespace( $1 );
+	elsif ( $decl =~ /^\s*using(\s+namespace)?\s+(\w+)/ ) {
+		newNamespace( $2 );
 
 	}
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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