[ERROR]
In Avocet compatibility mode, after a SWITCH directive, an expression other than a CASE or DEFAULT entry was found.
This message does only occur for assemblers supporting the Avocet compatibility mode.
xxx: equ 0
SWITCH xxx
; CASE 1
DC.B 0
CASE 2
DC.W 0
CASE 4
DC.L 0
DEFAULT
FAIL 1
ENDSW
Remove the semicolon in the example. Make sure that your assembler does support the Avocet compatibility mode and that this mode is switched on.