Add comment saying that lang_decode_options should not complain about
authorNick Clifton <nickc@cygnus.com>
Mon, 20 Sep 1999 14:26:59 +0000 (14:26 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Mon, 20 Sep 1999 14:26:59 +0000 (14:26 +0000)
unrecognised options.

From-SVN: r29522

gcc/ChangeLog
gcc/c-decl.c
gcc/ch/ChangeLog
gcc/ch/lang.c
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/java/ChangeLog
gcc/java/lang.c

index c3c18a7cff7ed51b0ae8d20bc75c5a9b0daaff93..3e424c46064dd00a556149a670a9127b8cbf2c74 100644 (file)
@@ -1,3 +1,7 @@
+Mon Sep 20 15:25:35 1999  Nick Clifton  <nickc@cygnus.com>
+
+       * c-decl.c (c_decode_option): Extend comment.
+
 Mon Sep 20 14:43:37 1999  Nick Clifton  <nickc@cygnus.com>
 
        * toplev.c (progname): Make 'const char *'
index f018d85b68146ffa1a14f65eec4bf22134f7bd25..75b8ee02b842e3961aff8e74cc8c221c411d89ec 100644 (file)
@@ -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)
index 8ab5497315334b282e79f7f7a42400171527c537..2b9345fdbd24a2feebdc17bf73c24f5bc7440792 100644 (file)
@@ -1,3 +1,7 @@
+1999-09-20  Nick Clifton  <nickc@cygnus.com>
+
+       * lang.c (lang_decode_option): Extend comment.
+
 1999-09-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * lex.c (maybe_downcase, getlc, handle_generic_pragma,
index 42f90542ffd69ba91b4c2a9bfeb6ba848350836f..8abecf712cbd0222168413cae4e107c3f486d402 100644 (file)
@@ -161,6 +161,7 @@ GNU_xref_end ()
 \f
 /*
  * process chill-specific compiler command-line options
+ * do not complain if the option is not recognised
  */
 int
 lang_decode_option (argc, argv)
index 50bcbbb40c3581053001144b8803a1747511b633..6b8af65380763dc65c2063b6c2c428d5184c2345 100644 (file)
@@ -1,3 +1,7 @@
+1999-09-20  Nick Clifton  <nickc@cygnus.com>
+
+       * decl2.c (lang_decode_option): Extend comment.
+
 Mon Sep 20 10:49:05 1999  Bernd Schmidt  <bernds@cygnus.co.uk>
 
        * typeck.c: Include "tm_p.h".
index 4f589d3b80adceef294f109b46594b6a9de14053..bb5f5e57e81b30529ac44bf203482ac0b0fd8ce5 100644 (file)
@@ -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)
index debc540f0dab68313c9618bd979449337bda58a8..d54145e0406e6068e096e993fdd96114dd61e14b 100644 (file)
@@ -1,3 +1,7 @@
+1999-09-20  Nick Clifton  <nickc@cygnus.com>
+
+       * lang.c (lang_decode_option): Extend comment.
+
 1999-09-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * gjavah.c (get_field_name, print_method_info, print_include,
index 0a444b4d5e8dbdb8fada7bfa7ad5a35b20122e33..93161efd2c3675e47abb0a77c7e5aa5d62f0492f 100644 (file)
@@ -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)