Index: doc/manual/R-exts.texi
===================================================================
--- doc/manual/R-exts.texi	(revision 36380)
+++ doc/manual/R-exts.texi	(working copy)
@@ -1715,24 +1715,24 @@
 @code{myDLL}:
 
 @example
-R_CMethodDef cMethods[] = {
-   {"foo", &foo, 4, {REALSXP, INTSXP, STRSXP, LGLSXP}},
-   {"bar_sym", &bar, 0},
-   {NULL, NULL, 0}
-};
+R_CMethodDef cMethods[] = @{
+   @{"foo", &foo, 4, @{REALSXP, INTSXP, STRSXP, LGLSXP@}@},
+   @{"bar_sym", &bar, 0@},
+   @{NULL, NULL, 0@}
+@};
 
-R_CallMethodDef callMethods[] = {
-   {"R_call_sym", &R_call, 4},
-   {"R_version_sym", &R_version, 0},
-   {NULL, NULL, 0}
-};
-@endexample
+R_CallMethodDef callMethods[] = @{
+   @{"R_call_sym", &R_call, 4@},
+   @{"R_version_sym", &R_version, 0@},
+   @{NULL, NULL, 0@}
+@};
+@end example
 
 Then, the directive in the @file{NAMESPACE} file
 
 @example
 useDynLib(myDLL, .registration = TRUE)
-@endexample
+@end example
 
 causes the DLL to be loaded and also for the R variables @code{foo},
 @code{bar_sym}, @code{R_call_sym} and @code{R_version_sym} to be
@@ -1748,10 +1748,10 @@
 @example
 R_version =
 function()
-{
+@{
   .Call(R_version_sym)
-}
-@endexample
+@}
+@end example
 
 
 More information about this symbol lookup, along with some approaches
