Permit signed and unsigned integer constants to be used with either signed

or unsigned integer types.

llvm-svn: 32816
This commit is contained in:
Reid Spencer 2007-01-02 06:33:02 +00:00
parent e9da1b0ae0
commit 77283c18a1
1 changed files with 1 additions and 1 deletions

View File

@ -708,7 +708,7 @@ ConstVal: Types '[' ConstVector ']' { // Nonempty unsized arr
*$$.cnst += " " + *$2;
delete $2;
}
| UIntType EUINT64VAL { // integral constants
| UIntType EInt64Val { // integral constants
$$.type = $1;
$$.cnst = new std::string($1->getNewTy());
*$$.cnst += " " + *$2;