From 4b3936e2983dcecd36a3437bd6c7eef8d5fbbffa Mon Sep 17 00:00:00 2001 From: Tim Foley Date: Wed, 28 Jun 2017 08:49:04 -0700 Subject: 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. --- source/slang/token-defs.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source/slang/token-defs.h') 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") -- cgit v1.2.3