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/token-defs.h | |
| 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/token-defs.h')
| -rw-r--r-- | source/slang/token-defs.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/slang/token-defs.h b/source/slang/token-defs.h index 0fe833e36..08f67f996 100644 --- a/source/slang/token-defs.h +++ b/source/slang/token-defs.h @@ -21,10 +21,10 @@ TOKEN(EndOfFile, "end of file") TOKEN(EndOfDirective, "end of line") TOKEN(Invalid, "invalid character") TOKEN(Identifier, "identifier") -TOKEN(IntLiterial, "integer literal") -TOKEN(DoubleLiterial, "floating-point literal") -TOKEN(StringLiterial, "string literal") -TOKEN(CharLiterial, "character literal") +TOKEN(IntegerLiteral, "integer literal") +TOKEN(FloatingPointLiteral, "floating-point literal") +TOKEN(StringLiteral, "string literal") +TOKEN(CharLiteral, "character literal") TOKEN(WhiteSpace, "whitespace") TOKEN(NewLine, "newline") TOKEN(LineComment, "line comment") |
