basis.declaration: add more warnings for enum <b:define>