summaryrefslogtreecommitdiff
path: root/source/slang/token-defs.h
diff options
context:
space:
mode:
authorTim Foley <tfoleyNV@users.noreply.github.com>2017-06-28 11:26:02 -0700
committerGitHub <noreply@github.com>2017-06-28 11:26:02 -0700
commitb8e31688c6826475b5199468aedea0bc44c0adc1 (patch)
tree79b9227ef038d173d780a440035e616dc31104bb /source/slang/token-defs.h
parentafe41a6c994a684cd646b4432a285ef959d0716b (diff)
parentd601921b71ed44835e8d4fa6f13ff7aefcf7649d (diff)
Merge pull request #48 from tfoleyNV/literal-suffix-fix
Fix handling of literal suffixes
Diffstat (limited to 'source/slang/token-defs.h')
-rw-r--r--source/slang/token-defs.h8
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")