Hi Joseph,
I've slightly reworded the documentation for self-consistency.
See the range-diff below.
Have a lovely day!
Alex
Alejandro Colomar (1):
c, objc: Add -Wmultiple-parameter-fwd-decl-lists
gcc/c-family/c.opt | 4 ++++
gcc/c/c-decl.cc | 16 +++++++------
gcc/doc/extend.texi | 23 +++++++++++--------
gcc/doc/invoke.texi | 12 +++++++++-
.../Wmultiple-parameter-fwd-decl-lists.c | 6 +++++
5 files changed, 44 insertions(+), 17 deletions(-)
create mode 100644 gcc/testsuite/gcc.dg/Wmultiple-parameter-fwd-decl-lists.c
Range-diff against v5:
1: a5122b1110e ! 1: f4eedff05d4 c, objc: Add
-Wmultiple-parameter-fwd-decl-lists
@@ gcc/doc/extend.texi: tester (int len; char data[len][len], int len)
-declaration in parameter name and data type. ISO C99 does not support
-parameter forward declarations.
+Lists of parameter forward declarations are terminated by semicolons,
-+and parameters are separated within such lists by commas,
-+just like in the regular parameter declaration list.
++and parameter forward declarations are separated within such lists by
commas,
++just like in the regular list of parameter declarations.
+
-+You can write any number of such parameter forward declaration lists,
++You can write any number of lists of parameter forward declaration,
+but using more than one is unnecessary.
-+The last semicolon is followed by the ``real'' parameter declarations.
-+Each forward declaration must match
-+a ``real'' declaration in parameter name and data type.
++The last semicolon is followed by the list of parameter declarations.
++Each parameter forward declaration must match
++a parameter declaration in parameter name and data type.
+ISO C99 does not support parameter forward declarations.
@node Zero Length
--
2.51.0