https://github.com/shader-slang/slang
Revision ff53669ed918c87d15ddea2d07fda84d4c8eff5d authored by Tim Foley on 28 June 2017, 18:39:40 UTC, committed by Tim Foley on 28 June 2017, 18:51:23 UTC
The lexer was creating an `unsigned long long` value, and then the AST was storing it in an `int`.
This change makes both use a `long long`.

This is obviously still a stopgap until I can get arbitrary precisions in here.
1 parent b8e3168
History
Tip revision: ff53669ed918c87d15ddea2d07fda84d4c8eff5d authored by Tim Foley on 28 June 2017, 18:39:40 UTC
Store integer literals at high precision in AST
Tip revision: ff53669
File Mode Size
build
examples
external
source
tests
tools
.gitignore -rw-r--r-- 247 bytes
.gitmodules -rw-r--r-- 107 bytes
LICENSE -rw-r--r-- 1.1 KB
README.md -rw-r--r-- 1.5 KB
appveyor.yml -rw-r--r-- 1.5 KB
slang.h -rw-r--r-- 28.6 KB
slang.sln -rw-r--r-- 6.3 KB
test.bat -rw-r--r-- 1.4 KB

README.md

back to top