preprocessor: Simplify read_main
authorNathan Sidwell <nathan@acm.org>
Tue, 28 Jul 2020 12:49:35 +0000 (05:49 -0700)
committerNathan Sidwell <nathan@acm.org>
Tue, 28 Jul 2020 12:52:44 +0000 (05:52 -0700)
commit134051f16bd490ada9febb7511a202b34b1821f3
tree79937557fa5574cf4b70b576a5d4945e12d27d59
parent6dcf042368012e2d7ce1626ee5d378bf3ad0ccfc
preprocessor: Simplify read_main

We can always use the final map to get the return value, rather than
conditionally only when there was an immediate line directive.

libcpp/
* init.c (cpp_read_main_file): Always use the last map for
the return value.
libcpp/init.c