[BUG_FIX] add a special treat in case where a switch statement has no sub-statements