diff options
Diffstat (limited to 'src/core/common/Token.hpp')
-rw-r--r-- | src/core/common/Token.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/common/Token.hpp b/src/core/common/Token.hpp index 07d7c8f..0cf56b0 100644 --- a/src/core/common/Token.hpp +++ b/src/core/common/Token.hpp @@ -91,10 +91,10 @@ constexpr TokenId Section = std::numeric_limits<TokenId>::max() - 4; constexpr TokenId Indent = std::numeric_limits<TokenId>::max() - 5; /** - * Token which represents an unindentation -- issued if the indentation of + * Token which represents an dedentation -- issued if the indentation of * this line is smaller than the indentation of the previous line. */ -constexpr TokenId Unindent = std::numeric_limits<TokenId>::max() - 6; +constexpr TokenId Dedent = std::numeric_limits<TokenId>::max() - 6; /** * Maximum token id to be used. Tokens allocated for users should not surpass @@ -165,7 +165,7 @@ struct Token { * @return true if the TokenId indicates that this token is a "special" * token. */ - + bool isSpecial() const {return id > Tokens::MaxTokenId;} /** * The getLocation function allows the tokens to be directly passed as |