14 Jul 17:30
Gorm class parser.
From: Marko Riedel <markoriedelde <at> yahoo.de>
Subject: Gorm class parser.
Newsgroups: gmane.comp.lib.gnustep.general
Date: 2008-07-14 15:33:12 GMT
Subject: Gorm class parser.
Newsgroups: gmane.comp.lib.gnustep.general
Date: 2008-07-14 15:33:12 GMT
Hi folks, I have come across a problem in the classloader of Gorm.app. I ask your understanding when I say it is not terribly sophisticated. I had noticed that declarations of several instance variables of the same type like so NSMutableArray *a1, *a2, would confuse it, resulting in corrupted outlet lists, so now I always write NSMutableArray *a1; NSMutableArray *a2; Now I have another, more serious problem: it appears that the parser will consider everything an outlet that contains the string "id", e.g. NSMutableDictionary *namesToPids; will cause "namesToPids" to appear in the outlet list. This is an annoying problem and I don't think not to use the string "id" in variable names is an acceptable solution (though using "namesToPIDs" will fix it). Anyhow I hope you can replicate this, if not, please accept my apologies. BTW does GNUstep have a regexp libary yet that offers, say Perl-compatible regular expressions with different enodings (utf8 ...)? Best regards, Marko(Continue reading)
RSS Feed