diff options
author | Chris Lattner <sabre@nondot.org> | 2002-10-09 00:25:32 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-10-09 00:25:32 +0000 |
commit | fa01a52149b88c1ee609ce6e652256ffb7662624 (patch) | |
tree | 7fc3f476981676882e5e7eb2a1608ad59912758d | |
parent | 6023f638a146b1cd7a67d7010b573600929da364 (diff) | |
download | bcm5719-llvm-fa01a52149b88c1ee609ce6e652256ffb7662624.tar.gz bcm5719-llvm-fa01a52149b88c1ee609ce6e652256ffb7662624.zip |
Minor, non-functionality changing, formatting fix
llvm-svn: 4091
-rw-r--r-- | llvm/lib/AsmParser/llvmAsmParser.y | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/lib/AsmParser/llvmAsmParser.y b/llvm/lib/AsmParser/llvmAsmParser.y index f3436dc7828..8613a413ca4 100644 --- a/llvm/lib/AsmParser/llvmAsmParser.y +++ b/llvm/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 |