diff options
Diffstat (limited to 'contrib/gcc/c-parse.gperf')
-rw-r--r-- | contrib/gcc/c-parse.gperf | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/contrib/gcc/c-parse.gperf b/contrib/gcc/c-parse.gperf index 90cab6a..888eee9 100644 --- a/contrib/gcc/c-parse.gperf +++ b/contrib/gcc/c-parse.gperf @@ -1,7 +1,7 @@ %{ -/* Command-line: gperf -p -j1 -i 1 -g -o -t -N is_reserved_word -k1,3,$ c-parse.gperf */ +/* Command-line: gperf -L KR-C -F ', 0, 0' -p -j1 -i 1 -g -o -t -N is_reserved_word -k1,3,$ c-parse.gperf */ %} -struct resword { char *name; short token; enum rid rid; }; +struct resword { const char *name; short token; enum rid rid; }; %% @class, CLASS, NORID @compatibility_alias, ALIAS, NORID @@ -35,6 +35,8 @@ __iterator__, SCSPEC, RID_ITERATOR __label__, LABEL, NORID __real, REALPART, NORID __real__, REALPART, NORID +__restrict, TYPE_QUAL, RID_RESTRICT +__restrict__, TYPE_QUAL, RID_RESTRICT __signed, TYPESPEC, RID_SIGNED __signed__, TYPESPEC, RID_SIGNED __typeof, TYPEOF, NORID @@ -45,6 +47,7 @@ asm, ASM_KEYWORD, NORID auto, SCSPEC, RID_AUTO break, BREAK, NORID bycopy, TYPE_QUAL, RID_BYCOPY +byref, TYPE_QUAL, RID_BYREF case, CASE, NORID char, TYPESPEC, RID_CHAR const, TYPE_QUAL, RID_CONST @@ -68,6 +71,7 @@ long, TYPESPEC, RID_LONG oneway, TYPE_QUAL, RID_ONEWAY out, TYPE_QUAL, RID_OUT register, SCSPEC, RID_REGISTER +restrict, TYPE_QUAL, RID_RESTRICT return, RETURN, NORID short, TYPESPEC, RID_SHORT signed, TYPESPEC, RID_SIGNED |