Could you change this so it contains the name of the section, without any prefixes ? (as documented)
Section "-Test"
!ifdef __SECTION__
!error "Defined: ${__SECTION__}"
!endif
EndSection
2 posts
Section "-Test"
!ifdef __SECTION__
!error "Defined: ${__SECTION__}"
!endif
EndSection