Fixes Issue 6717 - Better diagnostic on wrong ASM end token.
Merge pull request #1650 from AndrejMitrovic/Fix6717

Issue 6717 - Better diagnostic on wrong ASM EOL token.