diff options
| author | Chris Lattner <sabre@nondot.org> | 2001-11-01 22:06:08 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2001-11-01 22:06:08 +0000 |
| commit | 50f68acb37ef9310838850765d876ebe1148b95b (patch) | |
| tree | 7b4cc1e0b490053cdbfbda89618a17aa4f9038ad /llvm/lib/AsmParser | |
| parent | e80af939daa5e2d64c59186c2c4f974b3274fb62 (diff) | |
| download | bcm5719-llvm-50f68acb37ef9310838850765d876ebe1148b95b.tar.gz bcm5719-llvm-50f68acb37ef9310838850765d876ebe1148b95b.zip | |
Support floating point numbers in expodential form so that small numbers don't get truncated, which broke the health benchmark
llvm-svn: 1087
Diffstat (limited to 'llvm/lib/AsmParser')
| -rw-r--r-- | llvm/lib/AsmParser/Lexer.l | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/AsmParser/Lexer.l b/llvm/lib/AsmParser/Lexer.l index b4910ec5172..c8e7b270126 100644 --- a/llvm/lib/AsmParser/Lexer.l +++ b/llvm/lib/AsmParser/Lexer.l @@ -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]+)? %% |

