Add no-c-format comment to prevent confusion when translating string.

This commit is contained in:
Nick Clifton 2002-01-17 11:28:49 +00:00
parent ce5fe2c658
commit 06f030db35
3 changed files with 11 additions and 2 deletions

View file

@ -1,3 +1,10 @@
2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
* 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 <seufer@csv.ica.uni-stuttgart.de> 2002-01-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
Johannes Stezenbach <js@convergence.de> Johannes Stezenbach <js@convergence.de>
* config/tc-mips.c (percent_op): Ensure longer percent_op's are * config/tc-mips.c (percent_op): Ensure longer percent_op's are

View file

@ -1,5 +1,5 @@
/* gasp.c - Gnu assembler preprocessor main program. /* 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. Free Software Foundation, Inc.
Written by Steve and Judy Chamberlain of Cygnus Support, Written by Steve and Judy Chamberlain of Cygnus Support,
@ -1549,6 +1549,7 @@ get_any_string (idx, in, out, expand, pretend_quoted)
int val; int val;
char buf[20]; char buf[20];
/* Turns the next expression into a string. */ /* Turns the next expression into a string. */
/* xgettext: no-c-format */
idx = exp_get_abs (_("% operator needs absolute expression"), idx = exp_get_abs (_("% operator needs absolute expression"),
idx + 1, idx + 1,
in, in,

View file

@ -1,5 +1,5 @@
/* macro.c - macro support for gas and gasp /* 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. Free Software Foundation, Inc.
Written by Steve and Judy Chamberlain of Cygnus Support, Written by Steve and Judy Chamberlain of Cygnus Support,
@ -378,6 +378,7 @@ get_any_string (idx, in, out, expand, pretend_quoted)
int val; int val;
char buf[20]; char buf[20];
/* Turns the next expression into a string. */ /* Turns the next expression into a string. */
/* xgettext: no-c-format */
idx = (*macro_expr) (_("% operator needs absolute expression"), idx = (*macro_expr) (_("% operator needs absolute expression"),
idx + 1, idx + 1,
in, in,