travellhyne / f2py

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

A bug? srtline and strlinemap show wrong results (maybe). #21

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi, I have a problem. Probably it is a bug.
I need your help. Could you look into it?

What steps will reproduce the problem?
1. Expand an attached file in a directory just above f2py.
2. Run a command in "job" file.

What is the expected output? What do you see instead?
See dat and err.
Do "grep f2py dat". This shows strange results (I think).
For example, dat contains lines as
-----------------------------------------
5 (485, 486) call    rxs2(f2py_expr_tuple_124) ---> {}
-----------------------------------------
As you can easily see, this means that
an item.strlinemap do not contain a thing corresponding to
f2py_expr_tuple_124. 
Actually it is included in its previous item. Strange.
From the beginning, why "f2py_expr_tuple_124" is in lower case?

What version of the product are you using? On what operating system?
r58,ubuntu9.10

Please provide any additional information below.

The followings are another story; so no reply required.
----------
I am gradually using your fparser; I like it. 
It will become very useful for Fortran Rewriter/Analyzer. 

For high performance calculations, I imagine an idea 
"a slight extension of fortran language",
which is a translator to usual fortran codes (human readable).
This can be rather practical than f2py from the view of fortran
writers.

For example, "Fortran without declear variables" can be possible;
or a sentence like "a,b = subroutine_xxx(input_1,input_2)" 
can be possible. Inputs and Outputs should be distinguished clearly.
Complexed index sets can be used as index of a matrix.

Original issue reported on code.google.com by TakaoKot...@gmail.com on 30 Apr 2010 at 7:02

Attachments: