projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6eaa457
)
Support floating point numbers in expodential form so that small numbers don't get...
author
Chris Lattner
<sabre@nondot.org>
Thu, 1 Nov 2001 22:06:08 +0000
(22:06 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 1 Nov 2001 22:06:08 +0000
(22:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1087
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/AsmParser/Lexer.l
patch
|
blob
|
history
diff --git
a/lib/AsmParser/Lexer.l
b/lib/AsmParser/Lexer.l
index b4910ec5172e6dd551f7f6a184c9782c61b25017..c8e7b270126763e2b576d2f7339746c571c9d47d 100644
(file)
--- a/
lib/AsmParser/Lexer.l
+++ b/
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]+)?
%%