From ed18ec55773881875cb11305a1df90650743b42a Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Mon, 23 Mar 2020 03:26:58 +0100 Subject: doc/developer.texi: Add variadic macros to allowed C language features They are used in several places like CBS. Signed-off-by: Andreas Rheinhardt --- doc/developer.texi | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc/developer.texi') diff --git a/doc/developer.texi b/doc/developer.texi index 5c342c9106..51e7299b1d 100644 --- a/doc/developer.texi +++ b/doc/developer.texi @@ -131,6 +131,9 @@ compound literals (@samp{x = (struct s) @{ 17, 23 @};}). @item for loops with variable definition (@samp{for (int i = 0; i < 8; i++)}); +@item +Variadic macros (@samp{#define ARRAY(nb, ...) (int[nb + 1])@{ nb, __VA_ARGS__ @}}); + @item Implementation defined behavior for signed integers is assumed to match the expected behavior for two's complement. Non representable values in integer -- cgit v1.2.3