aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGerald Pfeifer <gerald@pfeifer.com>2018-04-02 16:04:06 +0000
committerGerald Pfeifer <gerald@gcc.gnu.org>2018-04-02 16:04:06 +0000
commitc54a138f843e86571ff8a3ff29dbddf1d4489849 (patch)
tree2fe7a1761360994e112f1778bff10cb065409351 /gcc
parent5b6f2bf3f6edc3505674275226480b6aa08cda7d (diff)
downloadgcc-c54a138f843e86571ff8a3ff29dbddf1d4489849.zip
gcc-c54a138f843e86571ff8a3ff29dbddf1d4489849.tar.gz
gcc-c54a138f843e86571ff8a3ff29dbddf1d4489849.tar.bz2
cpp.texi (Variadic Macros): Fix line continuation in an example.
* doc/cpp.texi (Variadic Macros): Fix line continuation in an example. From-SVN: r259012
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/doc/cpp.texi2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 187ec0b..fcf97e5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2018-04-02 Gerald Pfeifer <gerald@pfeifer.com>
+
+ * doc/cpp.texi (Variadic Macros): Fix line continuation in an
+ example.
+
2018-04-02 Chung-Ju Wu <jasonwucj@gmail.com>
* config/nds32/nds32.c (TARGET_CANONICALIZE_COMPARISON): Define.
diff --git a/gcc/doc/cpp.texi b/gcc/doc/cpp.texi
index ced3e46..4297c0c 100644
--- a/gcc/doc/cpp.texi
+++ b/gcc/doc/cpp.texi
@@ -1710,7 +1710,7 @@ invocation expands to its argument; but if the variable argument does
not have any tokens, the @code{@w{__VA_OPT__}} expands to nothing:
@smallexample
-#define eprintf(format, @dots{}) \\
+#define eprintf(format, @dots{}) \
fprintf (stderr, format __VA_OPT__(,) __VA_ARGS__)
@end smallexample