1
1
mirror of https://github.com/github/semantic.git synced 2024-11-28 10:15:55 +03:00

Fix begin/end blocks (scope entry/exit)

This commit is contained in:
Timothy Clem 2017-08-24 14:52:11 -07:00
parent 7ff488b91c
commit 5abb457ecd
8 changed files with 14 additions and 14 deletions

View File

@ -1,5 +1,5 @@
(Program
{+(Identifier)+}
(BeginBlock
{ (Identifier)
->(Identifier) }))
(ScopeEntry
{+(Identifier)+}
{-(Identifier)-}))

View File

@ -1,6 +1,6 @@
(Program
{+(BeginBlock
{+(ScopeEntry
(Identifier))+}
{-(Identifier)-}
{-(BeginBlock
{-(ScopeEntry
(Identifier))-})

View File

@ -1,3 +1,3 @@
(Program
(BeginBlock
(ScopeEntry
(Identifier)))

View File

@ -1,4 +1,4 @@
(Program
(Identifier)
(BeginBlock
(ScopeEntry
(Identifier)))

View File

@ -1,5 +1,5 @@
(Program
{+(Identifier)+}
(EndBlock
{ (Identifier)
->(Identifier) }))
(ScopeExit
{+(Identifier)+}
{-(Identifier)-}))

View File

@ -1,6 +1,6 @@
(Program
{+(EndBlock
{+(ScopeExit
(Identifier))+}
{-(Identifier)-}
{-(EndBlock
{-(ScopeExit
(Identifier))-})

View File

@ -1,3 +1,3 @@
(Program
(EndBlock
(ScopeExit
(Identifier)))

View File

@ -1,4 +1,4 @@
(Program
(Identifier)
(EndBlock
(ScopeExit
(Identifier)))