summaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2015-01-16 17:40:15 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2015-01-16 17:40:15 +0000
commite2de5ff77d9ebd7da171185312f9549e1a3703d3 (patch)
tree0918217b2df9596690fc2b12d5af3f577e1544f6 /libcpp
parent32b84743d281deee2cf2f0ee9defdcaf76d424a9 (diff)
downloadgcc-e2de5ff77d9ebd7da171185312f9549e1a3703d3.tar.gz
* expr.c (cpp_classify_number): Add N_() around ?: string
literals used in cpp_error_with_line call as format string. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219759 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libcpp')
-rw-r--r--libcpp/ChangeLog5
-rw-r--r--libcpp/expr.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog
index f7d6cfd489f..23251619472 100644
--- a/libcpp/ChangeLog
+++ b/libcpp/ChangeLog
@@ -1,3 +1,8 @@
+2015-01-16 Jakub Jelinek <jakub@redhat.com>
+
+ * expr.c (cpp_classify_number): Add N_() around ?: string
+ literals used in cpp_error_with_line call as format string.
+
2015-01-05 Jakub Jelinek <jakub@redhat.com>
Update copyright years.
diff --git a/libcpp/expr.c b/libcpp/expr.c
index 6093593619c..b8e88c50f33 100644
--- a/libcpp/expr.c
+++ b/libcpp/expr.c
@@ -696,9 +696,9 @@ cpp_classify_number (cpp_reader *pfile, const cpp_token *token,
&& CPP_PEDANTIC (pfile))
cpp_error_with_line (pfile, CPP_DL_PEDWARN, virtual_location, 0,
CPP_OPTION (pfile, cplusplus)
- ? "binary constants are a C++14 feature "
- "or GCC extension"
- : "binary constants are a GCC extension");
+ ? N_("binary constants are a C++14 feature "
+ "or GCC extension")
+ : N_("binary constants are a GCC extension"));
if (radix == 10)
result |= CPP_N_DECIMAL;