]> git.donarmstrong.com Git - lilypond.git/commitdiff
Fix compile
authorPatrick McCarty <pnorcks@gmail.com>
Sun, 8 Feb 2009 00:24:32 +0000 (16:24 -0800)
committerWerner Lemberg <wl@gnu.org>
Sun, 8 Feb 2009 09:15:05 +0000 (10:15 +0100)
* @example environment needs escaped braces

Signed-off-by: Patrick McCarty <pnorcks@gmail.com>
Documentation/devel/programming-work.itexi

index 56abbf83db18f71be1ac382da36a2bfa944f21a8..4faa6913ed9e1a863e73c1ac82d2962bcdb80093 100644 (file)
@@ -301,17 +301,17 @@ constants for translation, using `_i (STRING)'. The `_i' macro is
 a no-op, it only serves as a marker for `xgettext'.
 
 @example
-char const* messages[] = {
+char const* messages[] = @{
   _i ("enable debugging output"),
   _i ("ignore lilypond version"),
   0
-};
+@};
 
 void
 foo (int i)
-{
+@{
   puts (gettext (messages i));
-}
+@}
 @end example
     
 See also `flower/getopt-long.cc' and `lily/main.cc'.