]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Ada] Make "gcc -gnatDGL" handle unterminated last lines properly
authorBob Duff <duff@adacore.com>
Mon, 22 Mar 2021 20:22:49 +0000 (16:22 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Fri, 18 Jun 2021 08:36:53 +0000 (04:36 -0400)
commitca5cdc9053ffe033e8ece1c4be7882c67b3f5a39
tree41694e5fcab4967e641e900a84da58e73065df61
parentf86c2f9c8e5d7d02cc6b79fc80a647a9a27e23f2
[Ada] Make "gcc -gnatDGL" handle unterminated last lines properly

gcc/ada/

* sprint.adb (Write_Source_Line): Check for EOF in
Line_Terminator loop.  Note that when a source file is read in,
an EOF character is added to the end.
gcc/ada/sprint.adb