Commit f1441c81 by Tobias Burnus Committed by Tobias Burnus

re PR fortran/30276 (gfortran include problem)

2007-01-02  Tobias Burnus  <burnus@net-b.de>

	PR fortran/30276
	* scanner.c (open_included_file): Support full-path filenames.

From-SVN: r120344
parent 410cf6e6
2007-01-02 Tobias Burnus <burnus@net-b.de>
PR fortran/30276
* scanner.c (open_included_file): Support full-path filenames.
2007-01-02 Paul Thomas <pault@gcc.gnu.org>
PR fortran/20896
......
......@@ -199,6 +199,11 @@ open_included_file (const char *name, gfc_directorylist *list, bool module)
gfc_directorylist *p;
FILE *f;
f = gfc_open_file (name);
if (f != NULL)
return f;
for (p = list; p; p = p->next)
{
if (module && !p->use_for_modules)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment