Fix #513: End keyword not recognized if followed by a windows line break.