[ERROR]
In Avocet compatibility mode, a CASE, DEFAULT or ENDSW directive was found without a previous SWITCH directive.
This message does only occur for assemblers supporting the Avocet compatibility mode.
xxx: equ 0
;SWITCH xxx
CASE 1
DC.B 100
CASE 2
DC.B 200
CASE 4
DC.B 400
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.