Skip to content

Commit e2de5ff

Browse files
author
jakub
committed
* 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
1 parent 32b8474 commit e2de5ff

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

libcpp/ChangeLog

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2015-01-16 Jakub Jelinek <[email protected]>
2+
3+
* expr.c (cpp_classify_number): Add N_() around ?: string
4+
literals used in cpp_error_with_line call as format string.
5+
16
2015-01-05 Jakub Jelinek <[email protected]>
27

38
Update copyright years.

libcpp/expr.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -696,9 +696,9 @@ cpp_classify_number (cpp_reader *pfile, const cpp_token *token,
696696
&& CPP_PEDANTIC (pfile))
697697
cpp_error_with_line (pfile, CPP_DL_PEDWARN, virtual_location, 0,
698698
CPP_OPTION (pfile, cplusplus)
699-
? "binary constants are a C++14 feature "
700-
"or GCC extension"
701-
: "binary constants are a GCC extension");
699+
? N_("binary constants are a C++14 feature "
700+
"or GCC extension")
701+
: N_("binary constants are a GCC extension"));
702702

703703
if (radix == 10)
704704
result |= CPP_N_DECIMAL;

0 commit comments

Comments
 (0)