scanner.c (preprocessor_line): Only set current_file->line when errors have not been encountered.
* scanner.c (preprocessor_line): Only set current_file->line when errors have not been encountered. Warn and don't crash if a file leave preprocessor line has no corresponding entering line. Formatting. * gfortran.dg/badline.f: New test. From-SVN: r101717
Showing
gcc/testsuite/gfortran.dg/badline.f
0 → 100644
Please
register
or
sign in
to comment