MAGIC_SELECT, MAGIC_CASE_BEGIN, MAGIC_CASE_END and rename MAGIC_WHILE_END => MAGIC_WHILE_END