diff options
| author | Tim Foley <tfoleyNV@users.noreply.github.com> | 2017-08-11 14:04:24 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-08-11 14:04:24 -0700 |
| commit | 495f88167527945e680e091d49b5705f5f1af1f9 (patch) | |
| tree | 8be4a0505bd121edbbcf5dd5b3cd9d43c51ec377 /source/slang/lexer.cpp | |
| parent | db4079f7e3635a6a61b8725643b1d7ecf68b97d8 (diff) | |
| parent | b2febc7966c2533f756a6829656423f05b2f21e5 (diff) | |
Merge pull request #157 from tfoleyNV/syntax-lookup
Look up declaration keywords using ordinary scoping.
Diffstat (limited to 'source/slang/lexer.cpp')
| -rw-r--r-- | source/slang/lexer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/lexer.cpp b/source/slang/lexer.cpp index fe01878d1..351e3f664 100644 --- a/source/slang/lexer.cpp +++ b/source/slang/lexer.cpp @@ -833,7 +833,7 @@ namespace Slang // Now we look at another character to figure out the kind of // escape sequence we are dealing with: - int d = *cursor++; + char d = *cursor++; switch(d) { |
