From 766c97f887162de06ca60caedbb28252499e464d Mon Sep 17 00:00:00 2001 From: Pearu Peterson Date: Mon, 29 Mar 2004 16:57:23 +0000 Subject: Added test for f2py --include_paths option --- scipy_distutils/fcompiler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scipy_distutils/fcompiler.py') diff --git a/scipy_distutils/fcompiler.py b/scipy_distutils/fcompiler.py index a609e2512..60d762312 100644 --- a/scipy_distutils/fcompiler.py +++ b/scipy_distutils/fcompiler.py @@ -786,7 +786,7 @@ def dummy_fortran_file(): is_f_file = re.compile(r'.*[.](for|ftn|f77|f)\Z',re.I).match _has_f_header = re.compile(r'-[*]-\s*fortran\s*-[*]-',re.I).search _has_f90_header = re.compile(r'-[*]-\s*f90\s*-[*]-',re.I).search -_free_f90_start = re.compile(r'[^c*][^\s\d\t]',re.I).match +_free_f90_start = re.compile(r'[^c*]\s*[^\s\d\t]',re.I).match def is_free_format(file): """Check if file is in free format Fortran.""" # f90 allows both fixed and free format, assuming fixed unless -- cgit v1.2.1