[6/6] Preprocessor forced macro location
commit048062ed07e4fe67d889b54c00b4d01e94e83344
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 31 Oct 2018 15:26:28 +0000 (31 15:26 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 31 Oct 2018 15:26:28 +0000 (31 15:26 +0000)
tree65fe76f5ca430fb5055b03a24045e1d61e3668be
parentb54410014f9bd0d8071987c35e2a67b321651a7b
[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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@265692 138bc75d-0d04-0410-961f-82ee72b054a4
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