aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2002-01-17 11:28:49 +0000
committerNick Clifton <nickc@redhat.com>2002-01-17 11:28:49 +0000
commit06f030db350108824d2a06fec35992ba084d92ca (patch)
tree74266fd4f4ffdc8dba167875b40fa1cd676dcd5a
parentce5fe2c65800586593eb97e71fb44a56c801d21b (diff)
downloadgdb-06f030db350108824d2a06fec35992ba084d92ca.zip
gdb-06f030db350108824d2a06fec35992ba084d92ca.tar.gz
gdb-06f030db350108824d2a06fec35992ba084d92ca.tar.bz2
Add no-c-format comment to prevent confusion when translating string.
-rw-r--r--gas/ChangeLog7
-rw-r--r--gas/gasp.c3
-rw-r--r--gas/macro.c3
3 files changed, 11 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 3e20ea5..e1a2150 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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>
Johannes Stezenbach <js@convergence.de>
* config/tc-mips.c (percent_op): Ensure longer percent_op's are
diff --git a/gas/gasp.c b/gas/gasp.c
index dc1946e..73b4d88 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 3e03c5d..11d6511 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,