summaryrefslogtreecommitdiffstats
path: root/source/compiler-core/slang-lexer.cpp
diff options
context:
space:
mode:
authorJKot <JKot25@gmail.com>2022-01-10 23:57:16 +0300
committerGitHub <noreply@github.com>2022-01-10 12:57:16 -0800
commit36e9276b1799b476f12db9b24d3073ceef3b7594 (patch)
tree76531aa605f63b6c72655ae858050cedde9c1859 /source/compiler-core/slang-lexer.cpp
parent4e7694fc862ad69b4746373d58fc7f2071385ca2 (diff)
Fix hexadecimal escape is string literals (#2072)
Co-authored-by: Theresa Foley <tfoleyNV@users.noreply.github.com>
Diffstat (limited to 'source/compiler-core/slang-lexer.cpp')
-rw-r--r--source/compiler-core/slang-lexer.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/compiler-core/slang-lexer.cpp b/source/compiler-core/slang-lexer.cpp
index a5eab67dd..d149a88bc 100644
--- a/source/compiler-core/slang-lexer.cpp
+++ b/source/compiler-core/slang-lexer.cpp
@@ -874,7 +874,6 @@ namespace Slang
// Hexadecimal escape: any number of characters
case 'x':
{
- cursor--;
int value = 0;
for(;;)
{