Closed martinwinter-huawei closed 2 years ago
Signed-off-by: Martin Winter martin.winter@huawei.com
While hlsl supports 64 bit unsigned integer types (i.e. uint64_t), using the correct literal suffix ULL leads to a parsing error. So code like this
hlsl
uint64_t
ULL
uint64_t test_variable = 1ULL << 35;
will not compile and the error message typically is
syntax error #1: missing ';' at 'L'
This commit updates the lexer definition to define ULL or ull as a valid IntergerSuffix.
ull
IntergerSuffix
Superseded by #53
Signed-off-by: Martin Winter martin.winter@huawei.com
While
hlsl
supports 64 bit unsigned integer types (i.e.uint64_t
), using the correct literal suffixULL
leads to a parsing error. So code like thiswill not compile and the error message typically is
This commit updates the lexer definition to define
ULL
orull
as a validIntergerSuffix
.