From 0e372766ab1e5c2c3ed4ed1441518aced3889fc1 Mon Sep 17 00:00:00 2001 From: Patrick McCarty Date: Sat, 7 Feb 2009 16:24:32 -0800 Subject: [PATCH] Fix compile * @example environment needs escaped braces Signed-off-by: Patrick McCarty --- Documentation/devel/programming-work.itexi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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'. -- 2.39.5