parse.c (eof_buf): Rename eof to eof_buf.
authorAaron W. LaFramboise <aaronavay62@aaronwl.com>
Wed, 15 Sep 2004 14:19:12 +0000 (08:19 -0600)
committerPaul Brook <pbrook@gcc.gnu.org>
Wed, 15 Sep 2004 14:19:12 +0000 (14:19 +0000)
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

gcc/fortran/ChangeLog
gcc/fortran/parse.c

index a60c04f7fea20b1eaa8e6666e970a18f91e148ed..54f069d629447ce230efba1f6284b699e651ed27 100644 (file)
@@ -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.
index b940fd3a8a4018f9494deca62e6e31369b79b045..cfcbee901f777d0b942399e1f9ba33b186279fcf 100644 (file)
@@ -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;