gcc/libcpp
Edward Smith-Rowland 7057e6452b Implement C++14 digit separators.
libcpp:

2013-10-31  Edward Smith-Rowland  <3dw4rd@verizon.net>

        Implement C++14 digit separators.
	* include/cpplib.h (cpp_options): Add digit_separators flag.
	* internal.h (DIGIT_SEP(c)): New macro.
	* expr.c (cpp_classify_number): Check improper placement of digit sep;
	(cpp_interpret_integer): Skip over digit separators.
	* init.c (lang_flags): Add digit_separators flag; (lang_defaults): Add
	digit separator flags per language; (cpp_set_lang): Set
	digit_separators
	* lex.c (lex_number): Add digits separator to allowable characters for
	C++14.


gcc/c-family:

2013-10-31  Edward Smith-Rowland  <3dw4rd@verizon.net>

        Implement C++14 digit separators.
	* c-lex.c (interpret_float): Remove digit separators from scratch string
	before building real literal.


gcc/testsuite:

2013-10-31  Edward Smith-Rowland  <3dw4rd@verizon.net>

        Implement C++14 digit separators.
	* g++.dg/cpp1y/digit-sep.C: New.
	* g++.dg/cpp1y/digit-sep-neg.C: New.
	* g++.dg/cpp1y/digit-sep-cxx11-neg.C: New.


libstdc++-v3:

2013-10-31  Edward Smith-Rowland  <3dw4rd@verizon.net>

        Implement C++14 digit separators.
	* include/include/bits/parse_numbers.h: Change struct _Digit<_Base, '`'>
	to struct _Digit<_Base, '\''>.

From-SVN: r204260
2013-10-31 14:01:23 +00:00
..
include Implement C++14 digit separators. 2013-10-31 14:01:23 +00:00
po * sr.po: Update. 2013-10-03 22:44:12 +01:00
aclocal.m4
ChangeLog Implement C++14 digit separators. 2013-10-31 14:01:23 +00:00
charset.c
config.in configure.ac: Don't define ENABLE_CHECKING whenever --enable-checking is seen... 2013-02-28 10:58:47 +01:00
configure Add --enable-host-shared configuration option 2013-10-15 20:33:55 +00:00
configure.ac Add --enable-host-shared configuration option 2013-10-15 20:33:55 +00:00
directives-only.c
directives.c re PR middle-end/56461 (GCC is leaking lots of memory) 2013-03-06 17:18:40 +01:00
errors.c
expr.c Implement C++14 digit separators. 2013-10-31 14:01:23 +00:00
files.c files.c (_cpp_stack_include): Fix the highest_location when header file is guarded by #ifndef and is included... 2013-06-24 17:31:45 +00:00
identifiers.c
init.c Implement C++14 digit separators. 2013-10-31 14:01:23 +00:00
internal.h Implement C++14 digit separators. 2013-10-31 14:01:23 +00:00
lex.c Implement C++14 digit separators. 2013-10-31 14:01:23 +00:00
line-map.c
macro.c
Makefile.in Add --enable-host-shared configuration option 2013-10-15 20:33:55 +00:00
makeucnid.c
mkdeps.c
pch.c re PR middle-end/56461 (GCC is leaking lots of memory) 2013-03-01 22:06:04 +01:00
symtab.c
system.h
traditional.c
ucnid.h
ucnid.tab