changed condition type for switch/case statement: now used EQU_PTR type 

this condition type is logically more correct: allows to set 'null' as case statement