Ada: Fixes System.Interrupt_Names Generation on VxWorks
The `System.Interrupt_Names` package is now correctly generated for VxWorks, handling a subtype declaration.
The script used to generate the System.Interrupt_Names package for VxWorks and RTEMS failed to handle a subtype declaration in the spec of Ada.Interrupts.Names. This commit modifies the sed script xsintnam.sed to correctly handle this special case. The fix ensures that the System.Interrupt_Names package is generated correctly for VxWorks, aligning with the Ada reference manual.
In Details
The spec of Ada.Interrupts.Names for VxWorks (and RTEMS) contains a subtype declaration that deviates from the Ada reference manual. This commit fixes the xsintnam.sed script to handle this special case.
For Context
The Ada programming language uses a package called System.Interrupt_Names to define the names of hardware interrupts for a specific operating system. This package is generated automatically using a script. This commit fixes a bug in the script that generates this package for the VxWorks operating system. The bug was caused by a special declaration in the interrupt names definition that the script didn't handle correctly. The fix ensures that the generated package is correct, allowing Ada programs to interact with hardware interrupts on VxWorks systems.