diff options
author | Pearu Peterson <pearu.peterson@gmail.com> | 2006-02-07 22:14:57 +0000 |
---|---|---|
committer | Pearu Peterson <pearu.peterson@gmail.com> | 2006-02-07 22:14:57 +0000 |
commit | 8913a2b030b2ecbf76d19e32dd38f8e56b8ffd32 (patch) | |
tree | 157c574202ebf641058203776b26a1d0993d5172 /numpy/f2py/crackfortran.py | |
parent | d34bdb294116f75b44e16326dc0374cfdd8de5f8 (diff) | |
download | numpy-8913a2b030b2ecbf76d19e32dd38f8e56b8ffd32.tar.gz |
Fixed intent(c) statement bug when only spaces follow.
Diffstat (limited to 'numpy/f2py/crackfortran.py')
-rwxr-xr-x | numpy/f2py/crackfortran.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/f2py/crackfortran.py b/numpy/f2py/crackfortran.py index 1c2349737..ec29ca1f1 100755 --- a/numpy/f2py/crackfortran.py +++ b/numpy/f2py/crackfortran.py @@ -863,7 +863,7 @@ def analyzeline(m,case,line): previous_context = ('variable',last_name,groupcounter) elif case in ['dimension','intent','optional','required','external','public','private','intrisic']: edecl=groupcache[groupcounter]['vars'] - ll=m.group('after') + ll=m.group('after').strip() i=string.find(ll,'::') if i<0 and case=='intent': i=string.find(markouterparen(ll),'@)@')-2 |