compiler/libec: (#1021) Added support for declarations directly under case statements