aboutsummaryrefslogtreecommitdiffstats
path: root/lib/AsmParser/llvmAsmParser.y
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2007-09-12 03:30:33 +0000
committerDale Johannesen <dalej@apple.com>2007-09-12 03:30:33 +0000
commitfbd9cdafa9a1e124a0866470dc1d8f514d5db30e (patch)
treeda064f263b6242adf84ced2a98439707a6114ddd /lib/AsmParser/llvmAsmParser.y
parentf5febb9ef86c5f67872301153137d3cf7db1c62f (diff)
downloadexternal_llvm-fbd9cdafa9a1e124a0866470dc1d8f514d5db30e.zip
external_llvm-fbd9cdafa9a1e124a0866470dc1d8f514d5db30e.tar.gz
external_llvm-fbd9cdafa9a1e124a0866470dc1d8f514d5db30e.tar.bz2
Revise previous patch per review comments.
Next round of x87 long double stuff. Getting close now, basically works. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41875 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/llvmAsmParser.y')
-rw-r--r--lib/AsmParser/llvmAsmParser.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AsmParser/llvmAsmParser.y b/lib/AsmParser/llvmAsmParser.y
index c0374da..d2e5256 100644
--- a/lib/AsmParser/llvmAsmParser.y
+++ b/lib/AsmParser/llvmAsmParser.y
@@ -1866,7 +1866,7 @@ ConstVal: Types '[' ConstVector ']' { // Nonempty unsized arr
$$ = ConstantInt::getFalse();
CHECK_FOR_ERROR
}
- | FPType FPVAL { // Float & Double constants
+ | FPType FPVAL { // Floating point constants
if (!ConstantFP::isValueValidForType($1, *$2))
GEN_ERROR("Floating point constant invalid for type");
// Lexer has no type info, so builds all float and double FP constants