From 06f030db350108824d2a06fec35992ba084d92ca Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 17 Jan 2002 11:28:49 +0000 Subject: [PATCH] Add no-c-format comment to prevent confusion when translating string. --- gas/ChangeLog | 7 +++++++ gas/gasp.c | 3 ++- gas/macro.c | 3 ++- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 3e20ea51303..e1a21507438 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,10 @@ +2002-01-17 Nick Clifton + + * macro.c (get_any_string): Add no-c-format comment to prevent + confusion when translating string. + * gasp.c (get_any_string): Add no-c-format comment to prevent + confusion when translating string. + 2002-01-16 Thiemo Seufer Johannes Stezenbach * config/tc-mips.c (percent_op): Ensure longer percent_op's are diff --git a/gas/gasp.c b/gas/gasp.c index dc1946e4e5e..73b4d882daa 100644 --- a/gas/gasp.c +++ b/gas/gasp.c @@ -1,5 +1,5 @@ /* gasp.c - Gnu assembler preprocessor main program. - Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 + Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. Written by Steve and Judy Chamberlain of Cygnus Support, @@ -1549,6 +1549,7 @@ get_any_string (idx, in, out, expand, pretend_quoted) int val; char buf[20]; /* Turns the next expression into a string. */ + /* xgettext: no-c-format */ idx = exp_get_abs (_("% operator needs absolute expression"), idx + 1, in, diff --git a/gas/macro.c b/gas/macro.c index 3e03c5d68f1..11d65113817 100644 --- a/gas/macro.c +++ b/gas/macro.c @@ -1,5 +1,5 @@ /* macro.c - macro support for gas and gasp - Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 + Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. Written by Steve and Judy Chamberlain of Cygnus Support, @@ -378,6 +378,7 @@ get_any_string (idx, in, out, expand, pretend_quoted) int val; char buf[20]; /* Turns the next expression into a string. */ + /* xgettext: no-c-format */ idx = (*macro_expr) (_("% operator needs absolute expression"), idx + 1, in, -- 2.30.2