fix Issue 12138 - Label statement creates an unexpected scope block
Merge pull request #3603 from 9rnsr/fix12138

Issue 12138 - Label statement creates an unexpected scope block