OSDN Git Service

* t-sh (MULTILIB_EXCEPTIONS): Set to ml.
[pf3gnuchains/gcc-fork.git] / gcc / f / parse.c
1 /* GNU Fortran
2    Copyright (C) 1995 Free Software Foundation, Inc.
3    Contributed by James Craig Burley.
4
5 This file is part of GNU Fortran.
6
7 GNU Fortran is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2, or (at your option)
10 any later version.
11
12 GNU Fortran is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with GNU Fortran; see the file COPYING.  If not, write to
19 the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
20 02111-1307, USA.         */
21
22 #include "proj.h"
23 #include "top.h"
24 #include "com.h"
25 #include "where.h"
26 #include "version.h"
27 #include "flags.h"
28
29 extern FILE *finput;
30
31 void
32 ffe_parse_file (set_yydebug)
33      int set_yydebug ATTRIBUTE_UNUSED;
34 {
35   ffewhereFile wf;
36
37   if (ffe_is_version ())
38     fprintf (stderr, "GNU Fortran Front End version %s\n", ffe_version_string);
39
40   if (!ffe_is_pedantic ())
41     ffe_set_is_pedantic (pedantic);
42
43   wf = ffewhere_file_new (main_input_filename, strlen (main_input_filename));
44   ffecom_file (main_input_filename);
45   ffe_file (wf, finput);
46
47   ffecom_finish_compile ();
48 }