Fixed: Now parses all the way down to the first 'do' statement.