aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorSteve Baird <baird@adacore.com>2024-03-13 17:46:56 -0700
committerMarc Poulhiès <poulhies@adacore.com>2024-05-17 10:21:06 +0200
commit15b5a95d36a3c8cc35189aa951bdcdbf59ad4160 (patch)
tree0fa1309630b889aa7abbf00fe9e77405186b9c9c /libcpp
parent22928da141a8bbee9994fbae00c595877ed060ad (diff)
downloadgcc-15b5a95d36a3c8cc35189aa951bdcdbf59ad4160.zip
gcc-15b5a95d36a3c8cc35189aa951bdcdbf59ad4160.tar.gz
gcc-15b5a95d36a3c8cc35189aa951bdcdbf59ad4160.tar.bz2
ada: Improve test for unprocessed preprocessor directives
Preprocessor directives are case insensitive and may have spaces or tabs between the '#' and the keyword. When checking for the error case of unprocessed preprocessor directives, take these rules into account. gcc/ada/ * scng.adb (scan): When checking for an unprocessed preprocessor directive, take into account the preprocessor's rules about case insensitivity and about white space between the '#' and the keyword.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions