Skip to content

Commit

Permalink
[TableGen] Emit the correct error message.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243284 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
dcci committed Jul 27, 2015
1 parent 80ec0f8 commit c11299b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/TableGen/SetTheory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ struct SequenceOp : public SetTheory::Operator {
if (IntInit *II = dyn_cast<IntInit>(Expr->arg_begin()[2]))
To = II->getValue();
else
PrintFatalError(Loc, "From must be an integer: " + Expr->getAsString());
PrintFatalError(Loc, "To must be an integer: " + Expr->getAsString());
if (To < 0 || To >= (1 << 30))
PrintFatalError(Loc, "To out of range");

Expand Down

0 comments on commit c11299b

Please sign in to comment.