summaryrefslogtreecommitdiff
path: root/gcc/c-lex.h
diff options
context:
space:
mode:
authorZack Weinberg <zackw@stanford.edu>2001-03-02 00:40:00 +0000
committerZack Weinberg <zack@gcc.gnu.org>2001-03-02 00:40:00 +0000
commit71b7be38c3f1d50ca004b3aa1c21e206d595c67f (patch)
treeb9429823f84096cf8932b11e6e31c6dd708dab5d /gcc/c-lex.h
parent5aa709ad7e1cb28ae54dea521a5ca6cbf1fe6016 (diff)
downloadgcc-71b7be38c3f1d50ca004b3aa1c21e206d595c67f.tar.gz
stringpool.c (set_identifier): New function.
* stringpool.c (set_identifier): New function. * tree.h: Prototype it. * c-parse.in: Kill D_YES. If compiled for objc, call save_and_forget_protocol_qualifiers from init_reswords. * objc/objc-act.c (remember_protocol_qualifiers, forget_protocol_qualifiers): Don't diddle C_IS_RESERVED_WORD. Swap out the non-keyword IDENTIFIER_NODEs for keyword ones, or vice versa. (save_and_forget_protocol_qualifiers): New function. * c-lex.h: Prototype save_and_forget_protocol_qualifiers. From-SVN: r40170
Diffstat (limited to 'gcc/c-lex.h')
-rw-r--r--gcc/c-lex.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/c-lex.h b/gcc/c-lex.h
index bfdc2abfbe7..bd25a16662a 100644
--- a/gcc/c-lex.h
+++ b/gcc/c-lex.h
@@ -27,6 +27,7 @@ extern void position_after_white_space PARAMS ((void));
extern int c_lex PARAMS ((tree *));
extern const char *init_c_lex PARAMS ((const char *));
+extern void save_and_forget_protocol_qualifiers PARAMS ((void));
extern void forget_protocol_qualifiers PARAMS ((void));
extern void remember_protocol_qualifiers PARAMS ((void));
extern tree is_class_name PARAMS ((tree));