Parse and type-check continue statements