cl-token: Rename Type to TokenKind, Data to TokenData to match the project's general style
This commit is contained in:
@@ -21,10 +21,10 @@ pub enum ErrorKind {
|
||||
UnmatchedParentheses,
|
||||
UnmatchedCurlyBraces,
|
||||
UnmatchedSquareBrackets,
|
||||
Unexpected(Type),
|
||||
Unexpected(TokenKind),
|
||||
Expected {
|
||||
want: Type,
|
||||
got: Type,
|
||||
want: TokenKind,
|
||||
got: TokenKind,
|
||||
},
|
||||
/// No rules matched
|
||||
Nothing,
|
||||
|
||||
Reference in New Issue
Block a user