Nathan Sidwell
056f95ec95
[preprocessor/91639] #includes at EOF
https://gcc.gnu.org/ml/gcc-patches/2019-09/msg00280.html
libcpp/
PR preprocessor/91639
* directives.c (do_include_common): Tell lexer we're a #include.
* files.c (_cpp_stack_file): Lexer will have always incremented.
* internal.h (struct cpp_context): Extend in_directive's
semantics.
* lex.c (_cpp_lex_direct): Increment line for final \n when lexing
for an ISO #include.
* line-map.c (linemap_line_start): Remember if we overflowed.
gcc/testsuite/
PR preprocessor/91639
* c-c++-common/cpp/pr91639.c: New.
* c-c++-common/cpp/pr91639-one.h: New.
* c-c++-common/cpp/pr91639-two.h: New.
From-SVN: r275402
2019-09-05 11:23:48 +00:00
..
2019-07-09 12:32:49 -06:00
2019-08-09 23:02:08 +01:00
2018-10-31 17:03:16 +00:00
2019-09-05 11:23:48 +00:00
2019-01-01 13:31:55 +01:00
2018-10-31 17:03:16 +00:00
2018-11-07 15:41:21 -07:00
2018-10-31 17:03:16 +00:00
2019-08-28 18:43:37 +00:00
2019-09-05 11:23:48 +00:00
2019-01-01 13:31:55 +01:00
2019-09-03 15:08:28 +00:00
2019-09-05 11:23:48 +00:00
2019-01-01 13:31:55 +01:00
2019-08-29 14:06:32 +00:00
2019-09-05 11:23:48 +00:00
2019-09-05 11:23:48 +00:00
2019-09-05 11:23:48 +00:00
2018-11-27 16:04:31 +00:00
2019-01-01 13:31:55 +01:00
2019-01-01 13:31:55 +01:00
2019-01-01 13:31:55 +01:00
2019-07-09 12:32:49 -06:00
2019-01-01 13:31:55 +01:00
2019-02-26 17:27:52 +00:00
2019-01-01 13:31:55 +01:00
2019-01-01 13:31:55 +01:00
2019-01-01 13:31:55 +01:00
2019-01-01 13:31:55 +01:00