diff options
Diffstat (limited to 'source/slang/token.h')
| -rw-r--r-- | source/slang/token.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/source/slang/token.h b/source/slang/token.h index 5967ac49a..e3b6f48ff 100644 --- a/source/slang/token.h +++ b/source/slang/token.h @@ -41,15 +41,15 @@ public: Token() = default; Token( - TokenType type, - const String & content, - SourceLoc loc, - TokenFlags flags = 0) - : flags(flags) + TokenType typeIn, + const String & contentIn, + SourceLoc locIn, + TokenFlags flagsIn = 0) + : flags(flagsIn) { - type = type; - Content = content; - loc = loc; + type = typeIn; + Content = contentIn; + loc = locIn; ptrValue = nullptr; } |
