Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 328543 - Free form F95 intrinsic keyword breaks outline view
Summary: Free form F95 intrinsic keyword breaks outline view
Status: RESOLVED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: Photran.Editor & Outline View (show other bugs)
Version: 6.0.3   Edit
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Target Milestone: 6.0.7   Edit
Assignee: Jeffrey Overbey CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-24 04:48 EDT by Christoph Knote CLA
Modified: 2011-05-14 06:46 EDT (History)
1 user (show)

See Also:


Attachments
PNG image of the broken outline view (44.62 KB, image/png)
2010-10-24 04:49 EDT, Christoph Knote CLA
no flags Details
Patch (1.74 KB, patch)
2011-03-17 10:56 EDT, Jeffrey Overbey CLA
g.watson: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Knote CLA 2010-10-24 04:48:27 EDT
Code containing "INTRINSIC" definitions in the header (e.g. of a function) breaks the outline view:

I have a module defining 

  INTRINSIC :: MAX, SQRT, NULL

in the header. The module contains some functions, and should look something like this in the outline view:

M modulename
> function 1
> function 2
> function 3
[...]

Instead, it looks like this:

M modulename
> MAX
>>SQRT
>>>NULL
>>>> function 1
>>>> function 2
>>>> function 3
[...]

I have tested this with a fresh Photran project and a simplistic module and the same happens (see attachment), so I assume this is a bug.

Best, Christoph
Comment 1 Christoph Knote CLA 2010-10-24 04:49:36 EDT
Created attachment 181590 [details]
PNG image of the broken outline view
Comment 2 Jeffrey Overbey CLA 2011-03-17 10:56:01 EDT
Created attachment 191427 [details]
Patch
Comment 3 Jeffrey Overbey CLA 2011-03-17 10:57:54 EDT
Thanks for the bug report.  This will be fixed in Photran 6.0.7 and 7.0.

Patch committed to ptp_4_0 and HEAD.