diff options
Diffstat (limited to 'gcc/cpptrad.c')
-rw-r--r-- | gcc/cpptrad.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/cpptrad.c b/gcc/cpptrad.c index 3c1bc25..e2ccb0b 100644 --- a/gcc/cpptrad.c +++ b/gcc/cpptrad.c @@ -299,13 +299,12 @@ _cpp_read_logical_line_trad (cpp_reader *pfile) { do { - if ((pfile->buffer == NULL || pfile->buffer->need_line) - && !_cpp_get_fresh_line (pfile)) + if (pfile->buffer->need_line && !_cpp_get_fresh_line (pfile)) return false; } while (!_cpp_scan_out_logical_line (pfile, NULL) || pfile->state.skipping); - return true; + return pfile->buffer != NULL; } /* Set up state for finding the opening '(' of a function-like |