expr.c (cpp_classify_number): Add N_() around ?...
authorJakub Jelinek <jakub@redhat.com>
Fri, 16 Jan 2015 17:40:15 +0000 (18:40 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 16 Jan 2015 17:40:15 +0000 (18:40 +0100)
* expr.c (cpp_classify_number): Add N_() around ?: string
literals used in cpp_error_with_line call as format string.

From-SVN: r219759

libcpp/ChangeLog
libcpp/expr.c

index f7d6cfd489f27563fe0da88bcc0a142031fba2c0..232516194728e878ad01fa070ac52f92e2655444 100644 (file)
@@ -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.
index 6093593619c69fd859bc180c65913ab0b823e611..b8e88c50f330ff9fab1c91e73cb7e876512798cb 100644 (file)
@@ -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;