summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-10-23 04:13:01 +0000
committerChris Lattner <sabre@nondot.org>2001-10-23 04:13:01 +0000
commitadb4dbaef3dd1bb68fac060a22cfced636771940 (patch)
tree1c529cccbf156ac5c800ea77769adc2fffbc9df1 /llvm/lib
parent7540328e4659641e1f275712188287ac76d5b6e9 (diff)
downloadbcm5719-llvm-adb4dbaef3dd1bb68fac060a22cfced636771940.tar.gz
bcm5719-llvm-adb4dbaef3dd1bb68fac060a22cfced636771940.zip
Negative FP constants... whodathunkit.
llvm-svn: 963
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/AsmParser/Lexer.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/AsmParser/Lexer.l b/llvm/lib/AsmParser/Lexer.l
index e9996b28295..b4910ec5172 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]*
%%
OpenPOWER on IntegriCloud