aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/sinfo.adb
diff options
context:
space:
mode:
authorJustin Squirek <squirek@adacore.com>2018-01-11 08:50:25 +0000
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>2018-01-11 08:50:25 +0000
commitc8f258171c90b52a45c6884138df740b2ef88c27 (patch)
tree358954e17f67faffe4c42d7d1d30c26fa54bb4df /gcc/ada/sinfo.adb
parent51f3e4e157dae1cded8f340f12859b237151fe74 (diff)
downloadgcc-c8f258171c90b52a45c6884138df740b2ef88c27.zip
gcc-c8f258171c90b52a45c6884138df740b2ef88c27.tar.gz
gcc-c8f258171c90b52a45c6884138df740b2ef88c27.tar.bz2
[Ada] Wrong column in sloc of "expect name" error for loop variant
This patch corrects error messages printed when using the pragma Loop_Variant without a named argument from having an incorrect column number in some cases. 2018-01-11 Justin Squirek <squirek@adacore.com> gcc/ada/ * sem_prag.adb (Analyze_Pragma:Pragma_Loop_Variant): Modify error message to be printed on the pragma argument identifier. gcc/testsuite/ * gnat.dg/loopvar.adb: New testcase. From-SVN: r256484
Diffstat (limited to 'gcc/ada/sinfo.adb')
0 files changed, 0 insertions, 0 deletions