diff options
author | Greg McGary <gkm@gnu.org> | 2000-03-14 19:42:11 +0000 |
---|---|---|
committer | Greg McGary <gkm@gcc.gnu.org> | 2000-03-14 19:42:11 +0000 |
commit | 4b4f19ec7838f76eab4b025dadcc986b728aaed7 (patch) | |
tree | 13ec01b359591fd90c3e8af82ce8e033edce604e /gcc/c-lex.c | |
parent | 199504d153c08f70c60710f38dd71c2c27f3604c (diff) | |
download | gcc-4b4f19ec7838f76eab4b025dadcc986b728aaed7.zip gcc-4b4f19ec7838f76eab4b025dadcc986b728aaed7.tar.gz gcc-4b4f19ec7838f76eab4b025dadcc986b728aaed7.tar.bz2 |
c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED.
* c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED.
* c-lex.c (init_lex): Handle RID_BOUNDED & RID_UNBOUNDED.
* c-parse.gperf (__bounded, __bounded__, __ptrbase, __ptrbase__,
__ptrextent, __ptrextent__, __ptrvalue, __ptrvalue__,
__unbounded, __unbounded__): New keywords.
* c-parse.in (PTR_VALUE PTR_BASE PTR_EXTENT): New tokens.
From-SVN: r32540
Diffstat (limited to 'gcc/c-lex.c')
-rw-r--r-- | gcc/c-lex.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/c-lex.c b/gcc/c-lex.c index 6597ffc..2f8a840 100644 --- a/gcc/c-lex.c +++ b/gcc/c-lex.c @@ -305,6 +305,8 @@ init_lex () ridpointers[(int) RID_CONST] = get_identifier ("const"); ridpointers[(int) RID_RESTRICT] = get_identifier ("restrict"); ridpointers[(int) RID_VOLATILE] = get_identifier ("volatile"); + ridpointers[(int) RID_BOUNDED] = get_identifier ("__bounded"); + ridpointers[(int) RID_UNBOUNDED] = get_identifier ("__unbounded"); ridpointers[(int) RID_AUTO] = get_identifier ("auto"); ridpointers[(int) RID_STATIC] = get_identifier ("static"); ridpointers[(int) RID_EXTERN] = get_identifier ("extern"); |