Add switch case for gstate.getLogicOp()