1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 11:33:24 +02:00

Support floating point numbers in expodential form so that small numbers don't get truncated, which broke the health benchmark

llvm-svn: 1087
This commit is contained in:
Chris Lattner 2001-11-01 22:06:08 +00:00
parent d8c8439517
commit 5ee08db6ce

View File

@ -111,7 +111,7 @@ NInteger -[0-9]+
/* FPConstant - A Floating point constant.
TODO: Expand lexer to support 10e50 FP constant notation */
FPConstant -?[0-9]+[.][0-9]*
FPConstant [-+]?[0-9]+[.][0-9]*([eE][-+]?[0-9]+)?
%%