diff options
| author | Tim Foley <tfoley@nvidia.com> | 2017-06-28 08:49:04 -0700 |
|---|---|---|
| committer | Tim Foley <tfoley@nvidia.com> | 2017-06-28 08:49:04 -0700 |
| commit | 4b3936e2983dcecd36a3437bd6c7eef8d5fbbffa (patch) | |
| tree | 79b7a813611436031c55e16746634441591cffe7 /source/slang/emit.cpp | |
| parent | afe41a6c994a684cd646b4432a285ef959d0716b (diff) | |
Rename literal tokens.
These had a typo (`Literial`), so they needed a fix eventually.
I also went ahead and made things a bit more verbose (`IntegerLiteral`, `FloatingPointLiteral`) because these names don't get used often enough for the brevity to pay off.
Diffstat (limited to 'source/slang/emit.cpp')
| -rw-r--r-- | source/slang/emit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/emit.cpp b/source/slang/emit.cpp index 77b0c2fe9..5272204f6 100644 --- a/source/slang/emit.cpp +++ b/source/slang/emit.cpp @@ -487,7 +487,7 @@ static String getStringOrIdentifierTokenValue( case TokenType::Identifier: return token.Content; - case TokenType::StringLiterial: + case TokenType::StringLiteral: return getStringLiteralTokenValue(token); break; } |
