[6/6] Preprocessor forced macro location
authorNathan Sidwell <nathan@acm.org>
Wed, 31 Oct 2018 15:26:28 +0000 (15:26 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 31 Oct 2018 15:26:28 +0000 (15:26 +0000)
commitf3f6029db2e5f960c10062d8c8c74d766fcad6d2
tree65fe76f5ca430fb5055b03a24045e1d61e3668be
parent82a14443dbad05cdf1bd09c7ebc98c406c81e384
[6/6] Preprocessor forced macro location

https://gcc.gnu.org/ml/gcc-patches/2018-10/msg02044.html
libcpp/
* internal.h (struct cpp_reader): Rename forced_token_location_p
to forced_token_location and drop its pointerness.
* include/cpplib.h (cpp_force_token_locations): Take location, not
pointer to one.
* init.c (cpp_create_reader): Adjust.
* lex.c (cpp_read_main_file):

gcc/c-family/
* c-opts.c (c_finish_options): Adjust cpp_force_token_locations call.

gcc/fortran/
* cpp.c (gfc_cpp_init): Adjust cpp_force_token_locations call.

From-SVN: r265692
gcc/c-family/ChangeLog
gcc/c-family/c-opts.c
gcc/fortran/ChangeLog
gcc/fortran/cpp.c
libcpp/ChangeLog
libcpp/include/cpplib.h
libcpp/init.c
libcpp/internal.h
libcpp/lex.c