[LLVMbugs] [Bug 12717] Incorrect lexing of pp-numbers in C++11 due to hexfloat extension

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jun 14 22:11:02 PDT 2012


http://llvm.org/bugs/show_bug.cgi?id=12717

Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Richard Smith <richard-llvm at metafoo.co.uk> 2012-06-15 00:11:02 CDT ---
Mostly fixed in r158487. We now only lex p[+-] as part of a pp-number if it's
preceded by 0[xX]([A-Za-z0-9]|[ep][+-])*. We could further reduce that to just
0[xX][A-Fa-f0-9]* if this is still an issue for anyone, but the immediate
problem with user-defined literals is now solved.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list