Scanner: Many int64 fixes, including performance.
- partially addresses #1209 and #1187 - only query 64-bit extension on seeing use of a 64-bit literal (was doing it for every single token) - correct HLSL acceptance of 64-bit literal syntax (still an int though) - error on overflow of 32-bit literal type
This commit is contained in:
parent
adc33b23cc
commit
c043aadd25
6 changed files with 61 additions and 47 deletions
|
|
@ -25,6 +25,6 @@ int main(){
|
|||
== !=
|
||||
& ^ | && ^^ || ? :
|
||||
+= -= *= /= %= <<= >>= &= |= ^=
|
||||
1.2 2E10 5u - 5 lf
|
||||
1.2 2E10 5u - 5l f
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue