On 1/25/19 12:15 AM, Jakub Jelinek wrote:
On Thu, Jan 24, 2019 at 05:16:52PM -0500, Jason Merrill wrote:
--- libcpp/expr.c.jj    2019-01-01 12:38:16.132007335 +0100
+++ libcpp/expr.c       2019-01-24 14:07:10.080774120 +0100
@@ -2238,7 +2238,9 @@ parse_has_include (cpp_reader *pfile, en
         XDELETEVEC (fname);
       }
-  if (paren && cpp_get_token (pfile)->type != CPP_CLOSE_PAREN)
+  if (paren
+      && pfile->cur_token[-1].type != CPP_EOF

Is there a reason not to use the SEEN_EOL macro here, too (first moving it
into a header)?

I can move it if you want to internal.h.

OK with that change.

Jason

Reply via email to