Skip to content

Commit

Permalink
op: LOr(||), LAnd(&&), LNot
Browse files Browse the repository at this point in the history
  • Loading branch information
xushiwei committed Aug 2, 2021
1 parent a2b6d72 commit e01a577
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ast.go
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,9 @@ var (
"And": {token.AND, 2},
"AndNot": {token.AND_NOT, 2},

"LOr": {token.LOR, 2},
"LAnd": {token.LAND, 2},

"Lsh": {token.SHL, 2},
"Rsh": {token.SHR, 2},

Expand All @@ -375,6 +378,7 @@ var (

"Neg": {token.SUB, 1},
"Not": {token.XOR, 1},
"LNot": {token.NOT, 1},
"Recv": {token.ARROW, 1},
"Addr": {token.AND, 1},
}
Expand Down

0 comments on commit e01a577

Please sign in to comment.