Support when … then in case
Continued parser in crystal, parsing double and minor improvements to code