aboutsummaryrefslogtreecommitdiff
path: root/libcpp/files.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2020-05-19 06:11:22 -0700
committerNathan Sidwell <nathan@acm.org>2020-05-19 06:19:31 -0700
commita641d6d3e631e523e8cf0cfc8b8e324da118dff2 (patch)
treee758c982763a130f5ec3e92f0decd43d84affaf4 /libcpp/files.c
parent92ea8e1bccc6a703407570471f6323bfa554af99 (diff)
downloadgcc-a641d6d3e631e523e8cf0cfc8b8e324da118dff2.zip
gcc-a641d6d3e631e523e8cf0cfc8b8e324da118dff2.tar.gz
gcc-a641d6d3e631e523e8cf0cfc8b8e324da118dff2.tar.bz2
preprocessor: Fix ICE with EOF in macro args [pr95182]
This was another latent case of us losing an EOF token, but succeeding anyway. Since my patch to make us pay more attention to EOFs it came to light. We also need to keep the EOF if we fall off the end of the main file. Forced includes look like regular nested includes at this point. PR preprocessor/95182 libcpp/ * macro.c (collect_args): Preserve EOFif we fell out of the main file. (cpp_get_token_1): Reformat a couple of short lines.
Diffstat (limited to 'libcpp/files.c')
0 files changed, 0 insertions, 0 deletions