diff options
author | Neil Booth <neil@cat.daikokuya.demon.co.uk> | 2001-05-16 06:22:15 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2001-05-16 06:22:15 +0000 |
commit | 4c521bad98510915b9bae91033f03a525a7fe5bd (patch) | |
tree | 1e5d0fbc2d1d0260932b68eec0147527bb4f696d /gcc/cpplex.c | |
parent | fca790eb60478652025f6604d5b57152cb5160c9 (diff) | |
download | gcc-4c521bad98510915b9bae91033f03a525a7fe5bd.zip gcc-4c521bad98510915b9bae91033f03a525a7fe5bd.tar.gz gcc-4c521bad98510915b9bae91033f03a525a7fe5bd.tar.bz2 |
c-common.h (RID_FIRST_PQ): New.
* c-common.h (RID_FIRST_PQ): New.
* c-parse.in (objc_pq_context): New.
(objc parser): Set objc_pq_context rather than calling
remember_protocol_qualifiers and forget_protocol_qualifiers.
Don't call save_and_forget_protocol_qualifiers.
(yylexname): Handle objc protocol qualifiers here.
* stringpool.c (struct str_header): Replace with sp_hashnode.
(SP_EMPTY, SP_LEN, SP_TREE, SP_STR, SP_VALID): New.
(alloc_string): Rename alloc_ident. Use the SP_ accessors.
Allocate an IDENTIFIER_NODE for each identifier.
(FORALL_STRINGS, set_identifier): Delete.
(FORALL_IDS, expand_string_table, stringpool_statistics): Update.
(ggc_alloc_string): Use an obstack.
(get_identifier, maybe_get_identifier, mark_string_hash): Update.
* tree.h: Update comments.
(set_identifier): Delete.
* objc/objc-act.c (N_PQ, saved_pq, saved_not_pq,
save_and_forget_protocol_qualifiers, forget_protocol_qualifiers,
remember_protocol_qualifiers): Delete.
From-SVN: r42132
Diffstat (limited to 'gcc/cpplex.c')
0 files changed, 0 insertions, 0 deletions