mirror of
https://github.com/github/semantic.git
synced 2025-01-01 11:46:14 +03:00
Fix and/or
This commit is contained in:
parent
e25bdcda82
commit
dc6ef33273
18
test/fixtures/ruby/and-or.diffA-B.txt
vendored
18
test/fixtures/ruby/and-or.diffA-B.txt
vendored
@ -1,13 +1,11 @@
|
||||
(Program
|
||||
(Binary
|
||||
{+(Or
|
||||
(Identifier)
|
||||
{ (Other "and")
|
||||
->(Other "or") }
|
||||
(Identifier))
|
||||
{+(Binary
|
||||
(Binary
|
||||
(Identifier))+}
|
||||
(And
|
||||
{ (Identifier)
|
||||
->(Or
|
||||
(Identifier)
|
||||
(Other "or")
|
||||
(Identifier))
|
||||
(Other "and")
|
||||
(Identifier))+})
|
||||
(Identifier)) }
|
||||
{ (Identifier)
|
||||
->(Identifier) }))
|
||||
|
15
test/fixtures/ruby/and-or.diffB-A.txt
vendored
15
test/fixtures/ruby/and-or.diffB-A.txt
vendored
@ -1,13 +1,12 @@
|
||||
(Program
|
||||
(Binary
|
||||
{+(And
|
||||
(Identifier)
|
||||
{ (Other "or")
|
||||
->(Other "and") }
|
||||
(Identifier))
|
||||
{-(Binary
|
||||
(Binary
|
||||
(Identifier))+}
|
||||
{-(Or
|
||||
(Identifier)
|
||||
(Identifier))-}
|
||||
{-(And
|
||||
(Or
|
||||
(Identifier)
|
||||
(Other "or")
|
||||
(Identifier))
|
||||
(Other "and")
|
||||
(Identifier))-})
|
||||
|
3
test/fixtures/ruby/and-or.parseA.txt
vendored
3
test/fixtures/ruby/and-or.parseA.txt
vendored
@ -1,5 +1,4 @@
|
||||
(Program
|
||||
(Binary
|
||||
(And
|
||||
(Identifier)
|
||||
(Other "and")
|
||||
(Identifier)))
|
||||
|
9
test/fixtures/ruby/and-or.parseB.txt
vendored
9
test/fixtures/ruby/and-or.parseB.txt
vendored
@ -1,12 +1,9 @@
|
||||
(Program
|
||||
(Binary
|
||||
(Or
|
||||
(Identifier)
|
||||
(Other "or")
|
||||
(Identifier))
|
||||
(Binary
|
||||
(Binary
|
||||
(And
|
||||
(Or
|
||||
(Identifier)
|
||||
(Other "or")
|
||||
(Identifier))
|
||||
(Other "and")
|
||||
(Identifier)))
|
||||
|
Loading…
Reference in New Issue
Block a user