aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2005-07-07 17:55:53 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2005-07-07 17:55:53 +0200
commit4c3a6ca189d0bf3a62b4f529275e0a666543650c (patch)
tree6b2f9b6876ae8fbaeef20fec5fcae091d024b66a /gcc/function.c
parent452190fb6ac2ab8706715a14e82d742ae545d6c2 (diff)
downloadgcc-4c3a6ca189d0bf3a62b4f529275e0a666543650c.zip
gcc-4c3a6ca189d0bf3a62b4f529275e0a666543650c.tar.gz
gcc-4c3a6ca189d0bf3a62b4f529275e0a666543650c.tar.bz2
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
Diffstat (limited to 'gcc/function.c')
0 files changed, 0 insertions, 0 deletions