summaryrefslogtreecommitdiff
path: root/doc/developer.texi
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-03-23 03:26:58 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-03-26 19:29:54 +0100
commited18ec55773881875cb11305a1df90650743b42a (patch)
tree579931e66ec5f20c3d755398200bad64dbedc124 /doc/developer.texi
parent59c993e227cd0460513d3eeaf17cc34dff33019e (diff)
doc/developer.texi: Add variadic macros to allowed C language features
They are used in several places like CBS. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'doc/developer.texi')
-rw-r--r--doc/developer.texi3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/developer.texi b/doc/developer.texi
index 5c342c9106..51e7299b1d 100644
--- a/doc/developer.texi
+++ b/doc/developer.texi
@@ -132,6 +132,9 @@ compound literals (@samp{x = (struct s) @{ 17, 23 @};}).
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
casts are binary truncated. Shift right of signed values uses sign extension.