simplify switch values in merged-ops.c
Merge branch '15-task-merging' into 16