Permit signed and unsigned integer constants to be used with either signed
authorReid Spencer <rspencer@reidspencer.com>
Tue, 2 Jan 2007 06:33:02 +0000 (06:33 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Tue, 2 Jan 2007 06:33:02 +0000 (06:33 +0000)
or unsigned integer types.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32816 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-upgrade/UpgradeParser.y

index 12ad18223be362c4f9131f52298c4d565bf051e4..09642661fdb951357d2691a978c1a8499778314b 100644 (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;