Closed martinwinter-huawei closed 2 years ago
Using the unsigned long long literal ULL currently does not compile. The following code:
unsigned long long
ULL
uint64_t test_variable = 1ULL << shift_amount;
will result in the following error message:
syntax error #1: missing ';' at 'L'
Using ULL directly in hlsl code works without an issue using dxc.
hlsl
dxc
This #51 pull request fixes this issue by updating the allowed IntegerSuffixes of the lexer.
IntegerSuffix
Properly fixed in #53
As this has been merged, this issue has been fixed! 👍
Using the
unsigned long long
literalULL
currently does not compile. The following code:will result in the following error message:
Using
ULL
directly inhlsl
code works without an issue usingdxc
.