fixed yield keyword not working in switch & for loop expressions
added tests for yield in switch & for loop expressions
Merge pull request #3734 from alubbe/master

fixed yield keyword not working in switch & for loop expressions