fix: TokenType.UNKNOWN改为TokenType.NOT以支持取反符号
This commit is contained in:
parent
7708a88771
commit
ac8afa8d0c
@ -63,7 +63,7 @@ public class OperatorTokenScanner extends AbstractTokenScanner {
|
||||
type = TokenType.NOT_EQUALS;
|
||||
} else {
|
||||
lexeme = "!";
|
||||
type = TokenType.UNKNOWN;
|
||||
type = TokenType.NOT;
|
||||
}
|
||||
break;
|
||||
case '>':
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user