aboutsummaryrefslogtreecommitdiff
path: root/gcc/et-forest.c
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2016-01-27 18:57:51 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2016-01-27 18:57:51 +0000
commit0afff540e652c77b409ce094f64cc2b033495785 (patch)
treef6cecd18c9211abd83605d0385a9448c4f50e786 /gcc/et-forest.c
parentb45285fc2ee430b675f57e8c92310aaf77ba031e (diff)
downloadgcc-0afff540e652c77b409ce094f64cc2b033495785.zip
gcc-0afff540e652c77b409ce094f64cc2b033495785.tar.gz
gcc-0afff540e652c77b409ce094f64cc2b033495785.tar.bz2
libcpp: use better locations for _Pragma tokens (preprocessor/69126)
gcc/testsuite/ChangeLog: PR preprocessor/69126 * c-c++-common/pr69126.c: New test case. libcpp/ChangeLog: PR preprocessor/69126 * directives.c (destringize_and_run): Add expansion_loc param; use it when handling unexpanded pragmas to fixup the locations of the synthesized tokens. (_cpp_do__Pragma): Add expansion_loc param and use it when calling destringize_and_run. * internal.h (_cpp_do__Pragma): Add expansion_loc param. * macro.c (builtin_macro): Pass expansion location of _Pragma to _cpp_do__Pragma. From-SVN: r232893
Diffstat (limited to 'gcc/et-forest.c')
0 files changed, 0 insertions, 0 deletions