Change ":", "endif" to "{", "}"