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;
|
type = TokenType.NOT_EQUALS;
|
||||||
} else {
|
} else {
|
||||||
lexeme = "!";
|
lexeme = "!";
|
||||||
type = TokenType.UNKNOWN;
|
type = TokenType.NOT;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case '>':
|
case '>':
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user