Created
October 16, 2010 02:56
-
-
Save johndemic/629343 to your computer and use it in GitHub Desktop.
Misc fixes to get build working in Xcode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 697dbe35ee9d366ec07af5e4f56a6a6c204cf210 Mon Sep 17 00:00:00 2001 | |
From: John D'Emic <[email protected]> | |
Date: Fri, 15 Oct 2010 22:51:29 -0400 | |
Subject: [PATCH] Misc fixes to get build working in Xcode | |
- Removed "@synthesize LastHash;" from ANTLRRuleStack.m and ANTLRSymbolStack.m. | |
- Changed signature of get/setScope in ANTLRHashMap.h to use NSInteger's instead of ints. | |
--- | |
Framework/ANTLRHashMap.h | 4 ++-- | |
Framework/ANTLRRuleStack.m | 2 +- | |
Framework/ANTLRSymbolStack.m | 2 -- | |
3 files changed, 3 insertions(+), 5 deletions(-) | |
diff --git a/Framework/ANTLRHashMap.h b/Framework/ANTLRHashMap.h | |
index ec8dcb8..39dba49 100644 | |
--- a/Framework/ANTLRHashMap.h | |
+++ b/Framework/ANTLRHashMap.h | |
@@ -82,8 +82,8 @@ | |
- (ANTLRMapElement **)getptrBuffer; | |
- (ANTLRMapElement *)getptrBufferEntry:(int)idx; | |
- (void)setptrBuffer:(ANTLRMapElement *)np Index:(int)idx; | |
-- (int)getScope; | |
-- (void)setScope:(int)i; | |
+- (NSInteger)getScope; | |
+- (void)setScope:(NSInteger)i; | |
- (ANTLRMapElement *)getTType:(NSString *)name; | |
- (ANTLRMapElement *)getNameInList:(NSInteger)ttype; | |
- (void)putNode:(NSString *)name TokenType:(NSInteger)ttype; | |
diff --git a/Framework/ANTLRRuleStack.m b/Framework/ANTLRRuleStack.m | |
index 4f55f8a..55502c9 100644 | |
--- a/Framework/ANTLRRuleStack.m | |
+++ b/Framework/ANTLRRuleStack.m | |
@@ -40,7 +40,7 @@ | |
*/ | |
@implementation ANTLRRuleStack | |
-@synthesize LastHash; | |
+ //@synthesize LastHash; | |
+ (ANTLRRuleStack *)newANTLRRuleStack | |
{ | |
diff --git a/Framework/ANTLRSymbolStack.m b/Framework/ANTLRSymbolStack.m | |
index 88e0b25..1dd6775 100644 | |
--- a/Framework/ANTLRSymbolStack.m | |
+++ b/Framework/ANTLRSymbolStack.m | |
@@ -57,8 +57,6 @@ | |
*/ | |
@implementation ANTLRSymbolStack | |
-@synthesize LastHash; | |
- | |
+(ANTLRSymbolStack *)newANTLRSymbolStack | |
{ | |
return [[ANTLRSymbolStack alloc] init]; | |
-- | |
1.7.1.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment