summaryrefslogtreecommitdiff
path: root/gcc/langhooks.h
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2002-05-22 05:40:22 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2002-05-22 05:40:22 +0000
commitdd436eaf083edae4ced4382303bc9b09f72328c8 (patch)
tree393799da65fb9425b665931be188539dc56ed666 /gcc/langhooks.h
parent77f2677453e3dbe2d205d8af1e28c95828255961 (diff)
downloadgcc-dd436eaf083edae4ced4382303bc9b09f72328c8.tar.gz
PR preprocessor/6517
* Makefile.in: Update. * c-common.c (c_common_post_options): Add preprocessor errors to the error count. * c-lang.c (c_post_options): Kill. (LANG_HOOKS_POST_OPTIONS): Use c_common_post_options. * hooks.h: Add header guards. * langhooks-def.h: Include hooks.h. (LANG_HOOKS_POST_OPTIONS): Update. * langhooks.h (struct lang_hooks): Update post_options. * toplev.c (parse_options_and_default_flags): Update. cp: * cp-lang.c (LANG_HOOKS_POST_OPTIONS): Use c_common_post_options. * cp-tree.h (cxx_post_options): Kill. * cp-lex.c (cxx_post_options): Kill. objc: * objc-lang.c (objc_post_options): Kill. (LANG_HOOKS_POST_OPTIONS): Use c_common_post_options. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53724 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/langhooks.h')
-rw-r--r--gcc/langhooks.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/langhooks.h b/gcc/langhooks.h
index 417f77bd1b5..56b2966df4f 100644
--- a/gcc/langhooks.h
+++ b/gcc/langhooks.h
@@ -199,7 +199,10 @@ struct lang_hooks
/* Called when all command line options have been parsed. Should do
any required consistency checks, modifications etc. Complex
initialization should be left to the "init" callback, since GC
- and the identifier hashes are set up between now and then. */
+ and the identifier hashes are set up between now and then.
+
+ If errorcount is non-zero after this call the compiler exits
+ immediately and the finish hook is not called. */
void (*post_options) PARAMS ((void));
/* Called after post_options, to initialize the front end. The main