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/emit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/slang/emit.cpp') 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; } -- cgit v1.2.3