[Ada] Remove Determine_License

Pierre-Marie de Rodat derodat@adacore.com
Wed Jun 10 13:35:39 GMT 2020


The routine Determine_License is brittle and doesn't e.g. handle
properly wide characters. Furthermore this is just a heuristic, which
isn't really needed, so remove it to simplify maintenance and remove
latent issues with wide characters.

Tested on x86_64-pc-linux-gnu, committed on trunk

2020-06-10  Arnaud Charlet  <charlet@adacore.com>

gcc/ada/

	* scn.adb (Determine_License): Remove.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-diff
Size: 5498 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20200610/c008b646/attachment.bin>


More information about the Gcc-patches mailing list