diff options
author | Pearu Peterson <pearu.peterson@gmail.com> | 2004-02-23 21:46:56 +0000 |
---|---|---|
committer | Pearu Peterson <pearu.peterson@gmail.com> | 2004-02-23 21:46:56 +0000 |
commit | f88e09e8bac6322d7f79f527b737fea12f74f1e1 (patch) | |
tree | 97fed0841eedd9e47fce7f88f26ed6fe8a9a745a /scipy_distutils/fcompiler.py | |
parent | 442f9ff8e69c2bab175fe3c69eceb5102bdaf3ba (diff) | |
download | numpy-f88e09e8bac6322d7f79f527b737fea12f74f1e1.tar.gz |
Ignore lines starting with tab as it contains no info whether Fortran source code is in fix or free format.
Diffstat (limited to 'scipy_distutils/fcompiler.py')
-rw-r--r-- | scipy_distutils/fcompiler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scipy_distutils/fcompiler.py b/scipy_distutils/fcompiler.py index b606b3b66..e922072a4 100644 --- a/scipy_distutils/fcompiler.py +++ b/scipy_distutils/fcompiler.py @@ -796,7 +796,7 @@ def is_free_format(file): while n>0 and line: if line[0]!='!': n -= 1 - if _free_f90_start(line[:5]) or line[-2:-1]=='&': + if (line[0]!='\t' and _free_f90_start(line[:5])) or line[-2:-1]=='&': result = 1 break line = f.readline() |