Drop semicolon after --%MAIN but allow it during parsing