[llvm-commits] CVS: llvm/lib/AsmParser/llvmAsmParser.y
Chris Lattner
lattner at cs.uiuc.edu
Tue Oct 8 19:26:04 PDT 2002
Changes in directory llvm/lib/AsmParser:
llvmAsmParser.y updated: 1.94 -> 1.95
---
Log message:
Minor, non-functionality changing, formatting fix
---
Diffs of the changes:
Index: llvm/lib/AsmParser/llvmAsmParser.y
diff -u llvm/lib/AsmParser/llvmAsmParser.y:1.94 llvm/lib/AsmParser/llvmAsmParser.y:1.95
--- llvm/lib/AsmParser/llvmAsmParser.y:1.94 Sun Oct 6 17:45:09 2002
+++ llvm/lib/AsmParser/llvmAsmParser.y Tue Oct 8 19:25:32 2002
@@ -992,20 +992,20 @@
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
More information about the llvm-commits
mailing list