From: Patrick McCarty Date: Sun, 8 Feb 2009 00:24:32 +0000 (-0800) Subject: Fix compile X-Git-Tag: release/2.13.0-0~38 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=0e372766ab1e5c2c3ed4ed1441518aced3889fc1;p=lilypond.git Fix compile * @example environment needs escaped braces Signed-off-by: Patrick McCarty --- diff --git a/Documentation/devel/programming-work.itexi b/Documentation/devel/programming-work.itexi index 56abbf83db..4faa6913ed 100644 --- a/Documentation/devel/programming-work.itexi +++ b/Documentation/devel/programming-work.itexi @@ -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'.