]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* expr.c (cpp_classify_number): Add N_() around ?: string
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Jan 2015 17:40:15 +0000 (17:40 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Jan 2015 17:40:15 +0000 (17:40 +0000)
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

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;