]> gcc.gnu.org Git - gcc.git/commitdiff
Incorporate the Objective-C keywords from
authorTom Wood <wood@gnu.org>
Fri, 9 Apr 1993 23:07:39 +0000 (23:07 +0000)
committerTom Wood <wood@gnu.org>
Fri, 9 Apr 1993 23:07:39 +0000 (23:07 +0000)
objc-parse.gperf and add the new keywords.

From-SVN: r4063

gcc/c-parse.gperf

index 72454f1197213226e85917b1c83cb8c8062a6fa5..90cab6ad1d834ddde1c5ec7ab6121a8144a2b146 100644 (file)
@@ -3,6 +3,18 @@
 %}
 struct resword { char *name; short token; enum rid rid; };
 %%
+@class, CLASS, NORID
+@compatibility_alias, ALIAS, NORID
+@defs, DEFS, NORID
+@encode, ENCODE, NORID
+@end, END, NORID
+@implementation, IMPLEMENTATION, NORID
+@interface, INTERFACE, NORID
+@private, PRIVATE, NORID
+@protected, PROTECTED, NORID
+@protocol, PROTOCOL, NORID
+@public, PUBLIC, NORID
+@selector, SELECTOR, NORID
 __alignof, ALIGNOF, NORID
 __alignof__, ALIGNOF, NORID
 __asm, ASM_KEYWORD, NORID
@@ -32,6 +44,7 @@ __volatile__, TYPE_QUAL, RID_VOLATILE
 asm, ASM_KEYWORD, NORID
 auto, SCSPEC, RID_AUTO
 break, BREAK, NORID
+bycopy, TYPE_QUAL, RID_BYCOPY
 case, CASE, NORID
 char, TYPESPEC, RID_CHAR
 const, TYPE_QUAL, RID_CONST
@@ -45,10 +58,15 @@ extern, SCSPEC, RID_EXTERN
 float, TYPESPEC, RID_FLOAT
 for, FOR, NORID
 goto, GOTO, NORID
+id, OBJECTNAME, RID_ID
 if, IF, NORID
+in, TYPE_QUAL, RID_IN
+inout, TYPE_QUAL, RID_INOUT
 inline, SCSPEC, RID_INLINE
 int, TYPESPEC, RID_INT
 long, TYPESPEC, RID_LONG
+oneway, TYPE_QUAL, RID_ONEWAY
+out, TYPE_QUAL, RID_OUT
 register, SCSPEC, RID_REGISTER
 return, RETURN, NORID
 short, TYPESPEC, RID_SHORT
This page took 0.061651 seconds and 5 git commands to generate.