diff options
author | Viljar Indus <indus@adacore.com> | 2023-10-06 13:12:29 +0300 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2023-11-07 10:15:01 +0100 |
commit | 95b8d1b5b5507200724445a98d6c54e0f5bef7c5 (patch) | |
tree | 2371760749275a3df684a3dc2690894be0bdb180 /libcpp/directives.cc | |
parent | 5a2d82e04d394945087a1a3cdcaf2ed68be8a61b (diff) | |
download | gcc-95b8d1b5b5507200724445a98d6c54e0f5bef7c5.zip gcc-95b8d1b5b5507200724445a98d6c54e0f5bef7c5.tar.gz gcc-95b8d1b5b5507200724445a98d6c54e0f5bef7c5.tar.bz2 |
ada: Fix scope of semantic style_check pragmas
Restore the original state of Style_Check pragmas before analyzing
each compilation unit to avoid Style_Check pragmas from unit affecting
the style checks of a different unit.
gcc/ada/
* sem_ch10.adb: (Analyze_Compilation_Unit): Restore the orignal
state of style check pragmas at the end of the analysis.
Diffstat (limited to 'libcpp/directives.cc')
0 files changed, 0 insertions, 0 deletions