From: Chris Lattner Date: Tue, 23 Oct 2001 04:13:01 +0000 (+0000) Subject: Negative FP constants... whodathunkit. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=90ebc114c66871ce5b9b98253fe767ec9246bdfe;p=oota-llvm.git Negative FP constants... whodathunkit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@963 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/AsmParser/Lexer.l b/lib/AsmParser/Lexer.l index e9996b28295..b4910ec5172 100644 --- 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]* %%