re PR fortran/30779 ([4.1, 4.2 only] incomplete file triggers ICE)
2007-02-14 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR fortran/30779 * scanner.c (gfc_next_char_literal): Add check for end of file after call to advance_line. From-SVN: r121982
This commit is contained in:
parent
f4f81a669a
commit
0267ffdccb
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2007-02-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
||||
|
||||
PR fortran/30779
|
||||
* scanner.c (gfc_next_char_literal): Add check for end of file after
|
||||
call to advance_line.
|
||||
|
||||
2007-02-14 Steven G. Kargl <kargl@gcc.gnu.org>
|
||||
|
||||
PR fortran/30799
|
||||
|
|
|
@ -704,6 +704,9 @@ restart:
|
|||
skip_comment_line ();
|
||||
else
|
||||
gfc_advance_line ();
|
||||
|
||||
if (gfc_at_eof())
|
||||
goto not_continuation;
|
||||
|
||||
/* We've got a continuation line. If we are on the very next line after
|
||||
the last continuation, increment the continuation line count and
|
||||
|
|
Loading…
Add table
Reference in a new issue