aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc/cpp.texi
diff options
context:
space:
mode:
authorJames A. Morrison <phython@gcc.gnu.org>2005-03-05 19:56:31 +0000
committerJames A. Morrison <phython@gcc.gnu.org>2005-03-05 19:56:31 +0000
commit12bcfaa1cb344664bb0123afb3d044b7752dbab5 (patch)
treeb9beec9e3689347979214c95549da0dcc4dd9152 /gcc/doc/cpp.texi
parent0aee4751507604a7a7f9367cd0a515c543ae4d2f (diff)
downloadgcc-12bcfaa1cb344664bb0123afb3d044b7752dbab5.zip
gcc-12bcfaa1cb344664bb0123afb3d044b7752dbab5.tar.gz
gcc-12bcfaa1cb344664bb0123afb3d044b7752dbab5.tar.bz2
c-tree.texi: Wrap comments in @r{}.
2005-03-05 James A. Morrison <phython@gcc.gnu.org> * doc/c-tree.texi: Wrap comments in @r{}. * doc/cpp.texi: Likewise. * doc/cppinternals.texi: Likewise. * doc/extend.texi: Likewise. * doc/md.texi: Likewise. * doc/objc.texi: Likewise. * doc/sourcebuild.texi: Likewise. * doc/tm.texi: Likewise. * doc/tree-ssa.texi From-SVN: r95939
Diffstat (limited to 'gcc/doc/cpp.texi')
-rw-r--r--gcc/doc/cpp.texi10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/doc/cpp.texi b/gcc/doc/cpp.texi
index ea38218..e6a7dcd 100644
--- a/gcc/doc/cpp.texi
+++ b/gcc/doc/cpp.texi
@@ -1318,7 +1318,7 @@ name, and you wish to use the function sometimes.
@smallexample
extern void foo(void);
-#define foo() /* optimized inline version */
+#define foo() /* @r{optimized inline version} */
@dots{}
foo();
funcptr = foo;
@@ -2211,7 +2211,7 @@ These definitions are effectively the same:
@smallexample
#define FOUR (2 + 2)
#define FOUR (2 + 2)
-#define FOUR (2 /* two */ + 2)
+#define FOUR (2 /* @r{two} */ + 2)
@end smallexample
@noindent
but these are not:
@@ -3538,8 +3538,8 @@ require matching quotes. For example:
@smallexample
#define m This macro's fine and has an unmatched quote
"/* This is not a comment. */
-/* This is a comment. The following #include directive
- is ill-formed. */
+/* @r{This is a comment. The following #include directive
+ is ill-formed.} */
#include <stdio.h
@end smallexample
@@ -3626,7 +3626,7 @@ example
@smallexample
#define str(x) "x"
-str(/* A comment */some text )
+str(/* @r{A comment} */some text )
@expansion{} "some text "
@end smallexample