From 7e96d768fe4e8fa821372cc7c7cd707efb917a3b Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Sat, 13 Jan 2001 01:00:01 +0000 Subject: cppinit.c (cpp_handle_option): help_only is now part of the cpp_options structure. * cppinit.c (cpp_handle_option): help_only is now part of the cpp_options structure. * cpplib.c (cpp_errors, cpp_get_options, cpp_get_callbacks, cpp_set_callbacks): New functions. * cpplib.h (cpp_callbacks): Break out as a named structure. (cpp_options): Move help_only here from cpp_reader. (CPP_FATAL_ERRORS): Update to use cpp_errors. (cpp_errors, cpp_get_options, cpp_get_callbacks, cpp_set_callbacks): New prototypes. * cppmain.c (main): Update for help_only. From-SVN: r38971 --- gcc/cppmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/cppmain.c') diff --git a/gcc/cppmain.c b/gcc/cppmain.c index dbb86ea..9ef01f5 100644 --- a/gcc/cppmain.c +++ b/gcc/cppmain.c @@ -87,7 +87,7 @@ main (argc, argv) line, it will have set pfile->help_only to indicate this. Exit successfully. [The library does not exit itself, because e.g. cc1 needs to print its own --help message at this point.] */ - if (pfile->help_only) + if (CPP_OPTION (pfile, help_only)) return (SUCCESS_EXIT_CODE); /* Open the output now. We must do so even if no_output is on, -- cgit v1.1