From 3cbc5ea46fee3a9617bd9478dc8f75bc6cb135ca Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 16 Sep 2024 09:54:08 -0700 Subject: [PATCH] Document use of empty macro args. --- ChangeLog | 2 ++ doc/gnulib-readme.texi | 3 +++ 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index 8bf9e172c5..d4f3555e6d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -8,6 +8,8 @@ one is empty. Although this change requires C99 or later, that’s safe nowadays. Suggested by Bruno Haible in: https://lists.gnu.org/r/bug-gnulib/2024-09/msg00079.html + * doc/gnulib-readme.texi (C99 features assumed): + Document that we assume this C99 feature. * lib/c++defs.h (_GL_FUNCDECL_RPL, _GL_FUNCDECL_SYS): Revert yesterday’s changes. All callers changed. Add comments explaining the required comma before missing attrs. diff --git a/doc/gnulib-readme.texi b/doc/gnulib-readme.texi index 25d7b54e2c..eafb3a0b01 100644 --- a/doc/gnulib-readme.texi +++ b/doc/gnulib-readme.texi @@ -376,6 +376,9 @@ it directly, preferring plain @code{bool} via the @item Compound literals and designated initializers. +@item +Empty arguments in macro calls. + @item Variadic macros.@* @findex __VA_ARGS__ -- 2.39.5