summaryrefslogtreecommitdiffstats
path: root/source/compiler-core/slang-json-lexer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/compiler-core/slang-json-lexer.cpp')
-rw-r--r--source/compiler-core/slang-json-lexer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/compiler-core/slang-json-lexer.cpp b/source/compiler-core/slang-json-lexer.cpp
index 0476ca37a..a335403e1 100644
--- a/source/compiler-core/slang-json-lexer.cpp
+++ b/source/compiler-core/slang-json-lexer.cpp
@@ -238,7 +238,7 @@ JSONTokenType JSONLexer::advance()
StringBuilder buf;
if (c <= ' ' || c >= 0x7e)
{
- static const char s_hex[] = "012345679abcdef";
+ static const char s_hex[] = "0123456789abcdef";
char hexBuf[5] = "0x";