pearu / f2py

Automatically exported from code.google.com/p/f2py
Other
54 stars 38 forks source link

ERROR messege as "analyze error: Implicit rules mapping is null while getting 'strn' type" if "implicit none" exists. #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Use the latest version r16
2.Copy this as Issue5.F
---------------------------
      subroutine bndfp()
      implicit none
      character strn*120,plbopt*120,mulopt*120,clsopt*120,strn2*120,dc*1
      end
---------------------------
3. Analyze this. by fparser as I did in Issue 4.

What is the expected output? What do you see instead?
---------------------------
ERROR while processing 'Issue5.F' (mode='fix90')..
    1:      subroutine bndfp()
    2:      implicit none
    3:      character
strn*120,plbopt*120,mulopt*120,clsopt*120,strn2*120,dc*1 <== analyze error:
Implicit rules mapping is null while getting 'strn' type
    4:      end
---------------------------
and so on.

What version of the product are you using? On what operating system?
r16

Please provide any additional information below.
If no implicit none, no ERROR messages.

Original issue reported on code.google.com by TakaoKot...@gmail.com on 7 Mar 2010 at 5:01

GoogleCodeExporter commented 9 years ago
Fixed in svn.

Original comment by pearu.peterson on 7 Mar 2010 at 6:49