Pretty-Print Loop Parameter Specification Filters
The Ada compiler's debug output now includes filters for loop parameter specifications, improving debuggability.
The Ada compiler’s debug output has been enhanced to include the filter associated with loop parameter specifications, in addition to iterator specifications. This allows developers using debug builds of the compiler to get a more complete view of the loop structure, making debugging easier.
In Details
This commit modifies sprint.adb to include filters in the pretty-printing of loop parameter specifications. Previously, filters were only printed for iterator specifications. This change enhances the debug output for the Ada front end, specifically when inspecting loop structures.
For Context
When debugging a compiler, developers often rely on internal debug messages that print out the structure of the code being compiled. This commit improves the Ada compiler's debug output by adding information about filters used in loops. This makes it easier for compiler developers to understand and debug the compiler's behavior when compiling loops with filters.