1
1
mirror of https://github.com/github/semantic.git synced 2024-12-01 09:15:01 +03:00

Assign unsigned right shift operator

This commit is contained in:
joshvera 2017-11-02 12:15:37 -04:00
parent e1bb4b741b
commit 1dcc88813a
2 changed files with 2 additions and 0 deletions

View File

@ -97,6 +97,7 @@ data Bitwise a
| BXOr !a !a
| LShift !a !a
| RShift !a !a
| UnsignedRShift !a !a
| Complement a
deriving (Diffable, Eq, Foldable, Functor, GAlign, Generic1, Mergeable, Ord, Show, Traversable)

View File

@ -769,6 +769,7 @@ binaryExpression = makeTerm' <$> symbol BinaryExpression <*> children (infixTerm
, (inj .) . invert Expression.Equal <$ (symbol AnonBangEqual <|> symbol AnonBangEqualEqual)
, (inj .) . Expression.LShift <$ symbol AnonLAngleLAngle
, (inj .) . Expression.RShift <$ symbol AnonRAngleRAngle
, (inj .) . Expression.UnsignedRShift <$ symbol AnonRAngleRAngleRAngle
, (inj .) . Expression.LessThan <$ symbol AnonLAngle
, (inj .) . Expression.GreaterThan <$ symbol AnonRAngle
, (inj .) . Expression.LessThanEqual <$ symbol AnonLAngleEqual