mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-27 14:34:58 +00:00
Permit signed and unsigned integer constants to be used with either signed
or unsigned integer types. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32816 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7e6b4f7a6d
commit
2128607fd1
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user