[Bug c++/64626] C++14 single quote should not always be a digit separator
emsr at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Mar 17 23:39:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64626
emsr at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #4 from emsr at gcc dot gnu.org ---
libcpp/
2015-03-16 Edward Smith-Rowland <3dw4rd@verizon.net>
PR c++/64626
* lex.c (lex_number): If a number ends with digit-seps (') skip back
and let lex_string take them.
gcc/testsuite/
2015-03-16 Edward Smith-Rowland <3dw4rd@verizon.net>
PR c++/64626
g++.dg/cpp1y/pr64626-1.C: New.
g++.dg/cpp1y/pr64626-2.C: New.
g++.dg/cpp1y/digit-sep-neg.C: Adjust errors and warnings.
More information about the Gcc-bugs
mailing list