Improved directive scanning
Improved directive scanning

This improves the directive scanning for "parseStatementList", and this change is copied over from the bleeding branch.

- J. K. Thomas - (drop-by-dev)
cherow/cherow,cherow/cherow