-
- Downloads
[Ada] Fix inconsistent handling of character set control switches
gcc/ada/ * csets.adb (Initialize): Refactor into CASE statement; raise exception on unsupported code of character set (it will be gently rejected earlier when scanning command line switches). * switch-b.adb (Scan_Binder_Switches): Refactor into a membership expression; add missing '9' choice; reorder as described by GNAT UG, section 4.3.11. * switch-c.adb (Scan_Front_End_Switches): Refactor into a membership expression and reorder as above. * doc/gnat_ugn/building_executable_programs_with_gnat.rst (gnatic): Mention '5' as an allowed value for "c". * gnat_ugn.texi: Regenerate.
Showing
- gcc/ada/csets.adb 25 additions, 23 deletionsgcc/ada/csets.adb
- gcc/ada/doc/gnat_ugn/building_executable_programs_with_gnat.rst 1 addition, 1 deletion...a/doc/gnat_ugn/building_executable_programs_with_gnat.rst
- gcc/ada/gnat_ugn.texi 2 additions, 2 deletionsgcc/ada/gnat_ugn.texi
- gcc/ada/switch-b.adb 1 addition, 7 deletionsgcc/ada/switch-b.adb
- gcc/ada/switch-c.adb 1 addition, 8 deletionsgcc/ada/switch-c.adb
Loading
Please register or sign in to comment