(#178) - No more crash when ';'-ending view function

See #178. This should fix it. I hope the test is in a good enough position in the file.