summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-10-09 00:25:32 +0000
committerChris Lattner <sabre@nondot.org>2002-10-09 00:25:32 +0000
commite43f40bc17ccdfa3ae6f237e302f34a392716c64 (patch)
tree4e04bbccaa03eb6fcf2dc16a4dc8ab0d05cedeee
parent61d295aa291ae66eec95f60a12bacddbefb2f6a2 (diff)
downloadllvm-e43f40bc17ccdfa3ae6f237e302f34a392716c64.tar.gz
llvm-e43f40bc17ccdfa3ae6f237e302f34a392716c64.tar.bz2
llvm-e43f40bc17ccdfa3ae6f237e302f34a392716c64.tar.xz
Minor, non-functionality changing, formatting fix
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4091 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/AsmParser/llvmAsmParser.y12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/AsmParser/llvmAsmParser.y b/lib/AsmParser/llvmAsmParser.y
index f3436dc782..8613a413ca 100644
--- a/lib/AsmParser/llvmAsmParser.y
+++ b/lib/AsmParser/llvmAsmParser.y
@@ -992,20 +992,20 @@ ConstVal: Types '[' ConstVector ']' { // Nonempty unsized arr
delete $1;
};
-ConstVal : SIntType EINT64VAL { // integral constants
+ConstVal : SIntType EINT64VAL { // integral constants
if (!ConstantSInt::isValueValidForType($1, $2))
ThrowException("Constant value doesn't fit in type!");
$$ = ConstantSInt::get($1, $2);
- }
- | UIntType EUINT64VAL { // integral constants
+ }
+ | UIntType EUINT64VAL { // integral constants
if (!ConstantUInt::isValueValidForType($1, $2))
ThrowException("Constant value doesn't fit in type!");
$$ = ConstantUInt::get($1, $2);
- }
- | BOOL TRUE { // Boolean constants
+ }
+ | BOOL TRUE { // Boolean constants
$$ = ConstantBool::True;
}
- | BOOL FALSE { // Boolean constants
+ | BOOL FALSE { // Boolean constants
$$ = ConstantBool::False;
}
| FPType FPVAL { // Float & Double constants