mirror of
https://github.com/mtshiba/pylyzer.git
synced 2025-08-03 22:08:17 +00:00
Update convert.rs
This commit is contained in:
parent
4988282d9e
commit
4a606c4646
1 changed files with 1 additions and 1 deletions
|
@ -313,7 +313,7 @@ impl ASTConverter {
|
|||
UnaryOperator::Pos => (TokenKind::PrePlus, "+"),
|
||||
// UnaryOperator::Not => (TokenKind::PreBitNot, "not"),
|
||||
UnaryOperator::Neg => (TokenKind::PreMinus, "-"),
|
||||
UnaryOperator::Inv => (TokenKind::Minus, "~"),
|
||||
UnaryOperator::Inv => (TokenKind::PreBitNot, "~"),
|
||||
_ => { return Expr::Dummy(Dummy::new(vec![rhs])) }
|
||||
};
|
||||
let op = Token::from_str(kind, cont);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue