OSDN Git Service

PR fortran/20811
authorfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 17 Nov 2005 12:51:41 +0000 (12:51 +0000)
committerfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 17 Nov 2005 12:51:41 +0000 (12:51 +0000)
commita0d72493e73d9b2941553721c2a2118b71302ce4
tree35d678ee317290325bc9327dcad95c6ae1820654
parenta20e9b770551b8f4943256934689c6c8bfecd35f
PR fortran/20811
* scanner.c (gfc_open_included_file): Add an extra include_cwd
argument. Only include files in the current working directory if
its value is true.
* gfortran.h: Change prototype for gfc_open_included_file.
(load_file): Don't search for include files in the current working
directory.
* options.c (gfc_post_options): Add the directory of the source file
to the list of paths for included files.
* module.c (gfc_use_module): Look for module files in the current
directory.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107120 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/gfortran.h
gcc/fortran/module.c
gcc/fortran/options.c
gcc/fortran/scanner.c