mirror of
https://github.com/gnustep/apps-projectcenter.git
synced 2025-02-15 16:11:25 +00:00
* Modules/Parsers/ProjectCenter/PCParser.m [-parse]: Move the
selector and IMP definitions inside the method. Global IMP caching is always wrong! And this broke compilation with llvm. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@32788 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
26fafd712c
commit
e0fe4ae4e3
2 changed files with 16 additions and 12 deletions
|
@ -1,3 +1,9 @@
|
|||
2011-04-06 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Modules/Parsers/ProjectCenter/PCParser.m [-parse]: Move the
|
||||
selector and IMP definitions inside the method. Global IMP caching
|
||||
is always wrong! And this broke compilation with llvm.
|
||||
|
||||
2011-03-14 Nicola Pero <nicola.pero@meta-innovation.com>
|
||||
|
||||
* Modules/Projects/ResourceSet/PCResourceSetProject.m
|
||||
|
|
|
@ -124,23 +124,21 @@ CodeType codeType(unichar *ch)
|
|||
}
|
||||
}
|
||||
|
||||
static SEL selString = @selector(string:);
|
||||
static SEL selNumber = @selector(number:);
|
||||
static SEL selSpaceAndNewLine = @selector(spaceAndNewLine:);
|
||||
static SEL selInvisible = @selector(invisible:);
|
||||
static SEL selSymbol = @selector(symbol:);
|
||||
|
||||
static void (*impString)(id, SEL, id);
|
||||
static void (*impNumber)(id, SEL, id);
|
||||
static void (*impSpaceAndNewLine)(id, SEL, unichar);
|
||||
static void (*impInvisible)(id, SEL, unichar);
|
||||
static void (*impSymbol)(id, SEL, unichar);
|
||||
|
||||
- (void)parse
|
||||
{
|
||||
unsigned int i, start, end;
|
||||
CodeType startType, endType;
|
||||
NSString *out;
|
||||
SEL selString = @selector(string:);
|
||||
SEL selNumber = @selector(number:);
|
||||
SEL selSpaceAndNewLine = @selector(spaceAndNewLine:);
|
||||
SEL selInvisible = @selector(invisible:);
|
||||
SEL selSymbol = @selector(symbol:);
|
||||
void (*impString)(id, SEL, id);
|
||||
void (*impNumber)(id, SEL, id);
|
||||
void (*impSpaceAndNewLine)(id, SEL, unichar);
|
||||
void (*impInvisible)(id, SEL, unichar);
|
||||
void (*impSymbol)(id, SEL, unichar);
|
||||
|
||||
NSLog(@"CodeParser begin...");
|
||||
|
||||
|
|
Loading…
Reference in a new issue