From 03d32d1a0882ca2fa5e93a84784ea926f1c27309 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 20 Sep 1999 14:26:59 +0000 Subject: Add comment saying that lang_decode_options should not complain about unrecognised options. From-SVN: r29522 --- gcc/ChangeLog | 4 ++++ gcc/c-decl.c | 3 ++- gcc/ch/ChangeLog | 4 ++++ gcc/ch/lang.c | 1 + gcc/cp/ChangeLog | 4 ++++ gcc/cp/decl2.c | 3 ++- gcc/java/ChangeLog | 4 ++++ gcc/java/lang.c | 1 + 8 files changed, 22 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c3c18a7..3e424c4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Mon Sep 20 15:25:35 1999 Nick Clifton + + * c-decl.c (c_decode_option): Extend comment. + Mon Sep 20 14:43:37 1999 Nick Clifton * toplev.c (progname): Make 'const char *' diff --git a/gcc/c-decl.c b/gcc/c-decl.c index f018d85..75b8ee0 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -454,7 +454,8 @@ int warn_multichar = 1; int dollars_in_ident = DOLLARS_IN_IDENTIFIERS; /* Decode the string P as a language-specific option for C. - Return the number of strings consumed. */ + Return the number of strings consumed. Should not complain + if it does not recognise the option. */ int c_decode_option (argc, argv) diff --git a/gcc/ch/ChangeLog b/gcc/ch/ChangeLog index 8ab5497..2b9345f 100644 --- a/gcc/ch/ChangeLog +++ b/gcc/ch/ChangeLog @@ -1,3 +1,7 @@ +1999-09-20 Nick Clifton + + * lang.c (lang_decode_option): Extend comment. + 1999-09-16 Kaveh R. Ghazi * lex.c (maybe_downcase, getlc, handle_generic_pragma, diff --git a/gcc/ch/lang.c b/gcc/ch/lang.c index 42f9054..8abecf7 100644 --- a/gcc/ch/lang.c +++ b/gcc/ch/lang.c @@ -161,6 +161,7 @@ GNU_xref_end () /* * process chill-specific compiler command-line options + * do not complain if the option is not recognised */ int lang_decode_option (argc, argv) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 50bcbbb..6b8af65 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +1999-09-20 Nick Clifton + + * decl2.c (lang_decode_option): Extend comment. + Mon Sep 20 10:49:05 1999 Bernd Schmidt * typeck.c: Include "tm_p.h". diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c index 4f589d3..bb5f5e5 100644 --- a/gcc/cp/decl2.c +++ b/gcc/cp/decl2.c @@ -532,7 +532,8 @@ lang_f_options[] = /* Decode the string P as a language-specific option. Return the number of strings consumed for a valid option. - Otherwise return 0. */ + Otherwise return 0. Should not complain if it does not + recognise the option. */ int lang_decode_option (argc, argv) diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index debc540..d54145e 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,7 @@ +1999-09-20 Nick Clifton + + * lang.c (lang_decode_option): Extend comment. + 1999-09-16 Kaveh R. Ghazi * gjavah.c (get_field_name, print_method_info, print_include, diff --git a/gcc/java/lang.c b/gcc/java/lang.c index 0a444b4..93161ef 100644 --- a/gcc/java/lang.c +++ b/gcc/java/lang.c @@ -148,6 +148,7 @@ static int dependency_tracking = 0; /* * process java-specific compiler command-line options + * return 0, but do not complain if the option is not recognised. */ int lang_decode_option (argc, argv) -- cgit v1.1