kind selector for intrinsic types doesn't always work
GoogleCodeExporter opened this issue · 2 comments
GoogleCodeExporter commented
Hi Pearu,
When declaring a variable fortran allows to pass the KIND intrinsic function
directly to the
intrinsic type specifier, e.g.
REAL(KIND(1.0D0) :: a
the function TypeDeclarationStatement._parse_kind_selector does not allow for
this case.
I have added an example fortran code and a possible patch
cheers,
omar
Original issue reported on code.google.com by omar.aw...@gmail.com
on 16 Apr 2010 at 4:53
Attachments:
GoogleCodeExporter commented
Yes, it is a bug. Can you commit your patch, it looks good to me.
Original comment by pearu.peterson
on 16 Apr 2010 at 7:21
GoogleCodeExporter commented
thanks!
done
Original comment by omar.aw...@gmail.com
on 16 Apr 2010 at 7:52
- Changed state: Fixed