mirror of
https://github.com/github/semantic.git
synced 2024-11-28 10:15:55 +03:00
Fix up if
This commit is contained in:
parent
85a33c9612
commit
74fe887fb0
17
test/fixtures/ruby/if.diffA-B.txt
vendored
17
test/fixtures/ruby/if.diffA-B.txt
vendored
@ -2,11 +2,16 @@
|
||||
(If
|
||||
{ (Identifier)
|
||||
->(Identifier) }
|
||||
{-(Identifier)-}
|
||||
{-(Elsif
|
||||
([]
|
||||
{-(Identifier)-})
|
||||
{ (If
|
||||
(Identifier)
|
||||
(Identifier)
|
||||
(Else
|
||||
(Identifier)))-})
|
||||
(
|
||||
(Identifier))
|
||||
(
|
||||
(Identifier)))
|
||||
->(Empty) })
|
||||
{+(If
|
||||
(Identifier))+})
|
||||
(Identifier)
|
||||
([])
|
||||
(Empty))+})
|
||||
|
17
test/fixtures/ruby/if.diffB-A.txt
vendored
17
test/fixtures/ruby/if.diffB-A.txt
vendored
@ -2,11 +2,16 @@
|
||||
(If
|
||||
{ (Identifier)
|
||||
->(Identifier) }
|
||||
{+(Identifier)+}
|
||||
{+(Elsif
|
||||
(
|
||||
{+(Identifier)+})
|
||||
{ (Empty)
|
||||
->(If
|
||||
(Identifier)
|
||||
(Identifier)
|
||||
(Else
|
||||
(Identifier)))+})
|
||||
(
|
||||
(Identifier))
|
||||
(
|
||||
(Identifier))) })
|
||||
{-(If
|
||||
(Identifier))-})
|
||||
(Identifier)
|
||||
([])
|
||||
(Empty))-})
|
||||
|
10
test/fixtures/ruby/if.parseA.txt
vendored
10
test/fixtures/ruby/if.parseA.txt
vendored
@ -1,9 +1,11 @@
|
||||
(Program
|
||||
(If
|
||||
(Identifier)
|
||||
(
|
||||
(Identifier))
|
||||
(If
|
||||
(Identifier)
|
||||
(Elsif
|
||||
(Identifier)
|
||||
(Identifier)
|
||||
(Else
|
||||
(
|
||||
(Identifier))
|
||||
(
|
||||
(Identifier)))))
|
||||
|
8
test/fixtures/ruby/if.parseB.txt
vendored
8
test/fixtures/ruby/if.parseB.txt
vendored
@ -1,5 +1,9 @@
|
||||
(Program
|
||||
(If
|
||||
(Identifier))
|
||||
(Identifier)
|
||||
([])
|
||||
(Empty))
|
||||
(If
|
||||
(Identifier)))
|
||||
(Identifier)
|
||||
([])
|
||||
(Empty)))
|
||||
|
Loading…
Reference in New Issue
Block a user