summaryrefslogtreecommitdiff
path: root/source/slang/lexer.h
diff options
context:
space:
mode:
authorTim Foley <tfoleyNV@users.noreply.github.com>2017-06-28 12:17:47 -0700
committerGitHub <noreply@github.com>2017-06-28 12:17:47 -0700
commit16613ed981fc5dc38966f5108e85b1aee36ef92f (patch)
tree0082315629ad76add2ebffe04dcd1f64943c0a9f /source/slang/lexer.h
parentb8e31688c6826475b5199468aedea0bc44c0adc1 (diff)
parentff53669ed918c87d15ddea2d07fda84d4c8eff5d (diff)
Merge pull request #50 from tfoleyNV/literal-fix-fix
Store integer literals at high precision in AST
Diffstat (limited to 'source/slang/lexer.h')
-rw-r--r--source/slang/lexer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/lexer.h b/source/slang/lexer.h
index 53bfc0999..71b2e85b1 100644
--- a/source/slang/lexer.h
+++ b/source/slang/lexer.h
@@ -92,7 +92,7 @@ namespace Slang
String getStringLiteralTokenValue(Token const& token);
String getFileNameTokenValue(Token const& token);
- typedef unsigned long long IntegerLiteralValue;
+ typedef long long IntegerLiteralValue;
typedef double FloatingPointLiteralValue;
IntegerLiteralValue getIntegerLiteralValue(Token const& token, String* outSuffix = 0);