summaryrefslogtreecommitdiff
path: root/source/slang/token.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/token.h')
-rw-r--r--source/slang/token.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/slang/token.h b/source/slang/token.h
index f177eb512..f29f2b4c6 100644
--- a/source/slang/token.h
+++ b/source/slang/token.h
@@ -26,7 +26,7 @@ typedef unsigned int TokenFlags;
class Token
{
public:
- TokenType Type = TokenType::Unknown;
+ TokenType type = TokenType::Unknown;
String Content;
CodePosition Position;
TokenFlags flags = 0;
@@ -34,7 +34,7 @@ public:
Token(TokenType type, const String & content, int line, int col, int pos, String fileName, TokenFlags flags = 0)
: flags(flags)
{
- Type = type;
+ type = type;
Content = content;
Position = CodePosition(line, col, pos, fileName);
}