diff options
author | Aaron W. LaFramboise <aaronavay62@aaronwl.com> | 2004-09-15 08:19:12 -0600 |
---|---|---|
committer | Paul Brook <pbrook@gcc.gnu.org> | 2004-09-15 14:19:12 +0000 |
commit | f13ab1ee140dbb6bb9d3bf490468d472efe51659 (patch) | |
tree | 35bff8ca3ed4e2a90aa61a766dcc8f48ae9b75bd | |
parent | 0110c1ec157a465fe323a5dcb906d8ea352fa356 (diff) | |
download | gcc-f13ab1ee140dbb6bb9d3bf490468d472efe51659.zip gcc-f13ab1ee140dbb6bb9d3bf490468d472efe51659.tar.gz gcc-f13ab1ee140dbb6bb9d3bf490468d472efe51659.tar.bz2 |
parse.c (eof_buf): Rename eof to eof_buf.
2004-09-15 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
* parse.c (eof_buf): Rename eof to eof_buf.
(unexpected_eof): Same.
(gfc_parse_file): Same.
From-SVN: r87556
-rw-r--r-- | gcc/fortran/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/fortran/parse.c | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index a60c04f..54f069d 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,9 @@ +2004-09-15 Aaron W. LaFramboise <aaronavay62@aaronwl.com> + + * parse.c (eof_buf): Rename eof to eof_buf. + (unexpected_eof): Same. + (gfc_parse_file): Same. + 2004-09-15 Steven G. Kargl <kargls@comcast.net> * check.c (gfc_check_getcwd_sub): New function. diff --git a/gcc/fortran/parse.c b/gcc/fortran/parse.c index b940fd3..cfcbee9 100644 --- a/gcc/fortran/parse.c +++ b/gcc/fortran/parse.c @@ -36,7 +36,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA gfc_st_label *gfc_statement_label; static locus label_locus; -static jmp_buf eof; +static jmp_buf eof_buf; gfc_state_data *gfc_state_stack; @@ -1252,7 +1252,7 @@ unexpected_eof (void) gfc_current_ns->code = (p && p->previous) ? p->head : NULL; gfc_done_2 (); - longjmp (eof, 1); + longjmp (eof_buf, 1); } @@ -2536,7 +2536,7 @@ gfc_parse_file (void) gfc_statement_label = NULL; - if (setjmp (eof)) + if (setjmp (eof_buf)) return FAILURE; /* Come here on unexpected EOF */ seen_program = 0; |