[Kde-bindings] KDE/kdebindings/kalyptus

Arno Rehn kde at arnorehn.de
Sat Oct 18 17:34:30 UTC 2008


SVN commit 873079 by arnorehn:

* Also detect 'using ::foo' as a using directive. Fixes bug when generating the
  Soprano smoke sources.

CCMAIL: kde-bindings at kde.org



 M  +5 -0      ChangeLog  
 M  +2 -2      kalyptus  


--- trunk/KDE/kdebindings/kalyptus/ChangeLog #873078:873079
@@ -1,3 +1,8 @@
+2008-10-18  Arno Rehn  <arno at arnorehn.de>
+
+    * Also detect 'using ::foo' as a using directive. Fixes bug when generating the
+      Soprano smoke sources.
+
 2008-07-31  Arno Rehn  <arno at arnorehn.de>
 
 	* Fix a bug where the wrong classid was assigned to $classNode->{ClassIndex}.
--- trunk/KDE/kdebindings/kalyptus/kalyptus #873078:873079
@@ -1001,8 +1001,8 @@
 		$skipBlock = 1; # FIXME check end token before doing this!
 	}
 	# Using: import namespace
-	elsif ( $decl =~ /^\s*using(\s+namespace)?\s+(\w+)/ ) {
-		newNamespace( $2 );
+	elsif ( $decl =~ /^\s*using(\s+namespace)?\s+(::)?(\w+)/ ) {
+		newNamespace( $3 ) if ($2 eq '');
 
 	}
 



More information about the Kde-bindings mailing list