From e82bb41c8f7b41b85db918166db6682962853713 Mon Sep 17 00:00:00 2001 From: Michael 'Mickey' Lauer Date: Fri, 2 Jan 2009 15:01:27 +0100 Subject: [PATCH] fix parser to also recognize objects and interfaces with digits in the name --- src/obj.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/obj.vala b/src/obj.vala index 1bc6e45..47e06c5 100644 --- a/src/obj.vala +++ b/src/obj.vala @@ -56,13 +56,13 @@ public class Introspection : Object //debug( "dealing with line '%s'", line ); int res = 0; string name; - res = line.scanf( " ", out name ); + res = line.scanf( " ", out name ); if ( res == 1 ) { nodes.append( name ); message( "object has node '%s'", name ); } - res = line.scanf( " ", out name ); + res = line.scanf( " ", out name ); if ( res == 1 ) { message( "object supports interface '%s'", name ); -- 2.11.4.GIT