ISO/ IEC JTC1/SC22/WG14 N760

                                Document number: WG14 N760 (J11 97-124)

Title:  Editorial correction, for empty macro arguments
Author: Douglas Walls
Date:   September 17, 1997

Paper N707 Varargs for function-like macros, passed in london, reworded
paragraph 4 of 6.8.3 Macro replacement.  This rewording inadvertently
lost the useful distinction, added by N570 Empty arguments in macro
replacement, that an empty macro argument counts in the number of
arguments in an invocation of a function-like macro.  This editorial
correction restores those words:

In 6.8.3 Macro replacement replace paragraph 4 which now reads:

       [#4] If the identifier-list in the macro definition does not
       end  with  an  ellipsis,  the  number  of  arguments  in  an
       invocation of a function-like macro  shall  agree  with  the
       number  of  parameters  in the macro definition.  Otherwise,
       there shall be more arguments in the invocation  than  there
       are  parameters in the macro definition (excluding the ...).
       There shall exist a ) preprocessing  token  that  terminates
       the invocation.

to read as follows:

       [#4] If the identifier-list in the macro definition does not
       end  with  an  ellipsis,  the  number  of  arguments, including
       those arguments consisting of no preprocessing tokens,  in  an
       invocation of a function-like macro  shall  agree  with  the
       number  of  parameters  in the macro definition.  Otherwise,
       there shall be more arguments in the invocation  than  there
       are  parameters in the macro definition (excluding the ...).
       There shall exist a ) preprocessing  token  that  terminates the
       invocation.