1
1
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:
Timothy Clem 2017-08-24 13:30:07 -07:00
parent 85a33c9612
commit 74fe887fb0
4 changed files with 34 additions and 18 deletions

View File

@ -2,11 +2,16 @@
(If
{ (Identifier)
->(Identifier) }
{-(Identifier)-}
{-(Elsif
([]
{-(Identifier)-})
{ (If
(Identifier)
(Identifier)
(Else
(Identifier)))-})
(
(Identifier))
(
(Identifier)))
->(Empty) })
{+(If
(Identifier))+})
(Identifier)
([])
(Empty))+})

View File

@ -2,11 +2,16 @@
(If
{ (Identifier)
->(Identifier) }
{+(Identifier)+}
{+(Elsif
(
{+(Identifier)+})
{ (Empty)
->(If
(Identifier)
(Identifier)
(Else
(Identifier)))+})
(
(Identifier))
(
(Identifier))) })
{-(If
(Identifier))-})
(Identifier)
([])
(Empty))-})

View File

@ -1,9 +1,11 @@
(Program
(If
(Identifier)
(
(Identifier))
(If
(Identifier)
(Elsif
(Identifier)
(Identifier)
(Else
(
(Identifier))
(
(Identifier)))))

View File

@ -1,5 +1,9 @@
(Program
(If
(Identifier))
(Identifier)
([])
(Empty))
(If
(Identifier)))
(Identifier)
([])
(Empty)))