1
1
mirror of https://github.com/github/semantic.git synced 2024-11-24 17:04:47 +03:00

Correct boolean operator tests.

This commit is contained in:
Rob Rix 2017-02-24 10:53:28 -05:00
parent 76d76c928c
commit e5555ea133
2 changed files with 6 additions and 14 deletions

View File

@ -1,10 +1,6 @@
(Program
(ExpressionStatements
{ (BooleanOperator
(BooleanOperator
(Identifier)
(Other "||")
(Identifier))
->(BooleanOperator
(Identifier)
(Other "&&")
(Identifier)) }))
{ (Other "||") -> (Other "&&") }
(Identifier))))

View File

@ -1,9 +1,5 @@
(Program
{ (Binary
(Binary
(Identifier)
(Other "||")
(Identifier))
->(Binary
(Identifier)
(Other "&&")
(Identifier)) })
{ (Other "||") -> (Other "&&") }
(Identifier)))