This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/64626] C++14 single quote should not always be a digit separator


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]