Implement `elseif` in catenation parser.

Closes #196.