What is a "parse error"?
What is a "parse error"?
- Subject: What is a "parse error"?
- From: Scott Steinman <email@hidden>
- Date: Thu, 2 Aug 2001 22:19:40 -0500
--
In reworking the code from Garfinkel and Mahoney's NeXTSTEP book's
calculator example, I added the following (overriding) method to my
NSWindow subclass to initialize a hash table of keycodes & button IDs
and store the ID of the hash table in an instance variable called
keyTable. Upon building, I got an error stating that there was a
"parse error" before NSHashTable. Removing that line of code removes
the compilation error.
What is a "parse error"?
Thanks in advance for your help.
Scott Steinman
email@hidden
----------------------------
- (id) initWithContentRect: (NSRect) contentRect
styleMask: (unsigned int) aStyle
backing: (NSBackingStoreType) bufferingType
defer: (BOOL) flag
{
keyTable = [ [ NSHashTable alloc ] initKeyDesc: "i" ];
return [ super initWithContentRect: contentRect
styleMask: aStyle
backing: bufferingType
defer: flag ];
}