diff options
author | Javier Miranda <miranda@adacore.com> | 2024-08-11 11:11:29 +0000 |
---|---|---|
committer | Marc Poulhiès <dkm@gcc.gnu.org> | 2024-08-23 10:51:05 +0200 |
commit | 87bdd17829e93bf98d8984d6a16ed25081af6c0d (patch) | |
tree | a7ad454c4b03f4f9311f808d6aa39e13ed490209 /gcc/expr.cc | |
parent | 509cc70fbbba911722a428f3a8bb01edbb90a7eb (diff) | |
download | gcc-87bdd17829e93bf98d8984d6a16ed25081af6c0d.zip gcc-87bdd17829e93bf98d8984d6a16ed25081af6c0d.tar.gz gcc-87bdd17829e93bf98d8984d6a16ed25081af6c0d.tar.bz2 |
ada: String interpolation: report error without Extensions allowed
The compiler does not report the correct error in occurrences
of interpolated strings, when the sources are compiled without
language extensions allowed.
gcc/ada/
* scng.adb (Scan): Call Error_Msg_GNAT_Extension() to report an
error, when the sources are compiled without Core_Extensions_
Allowed, and the scanner detects the beginning of an interpolated
string.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions