Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 328543

Summary: Free form F95 intrinsic keyword breaks outline view
Product: [Tools] PTP Reporter: Christoph Knote <christoph>
Component: Photran.Editor & Outline ViewAssignee: Jeffrey Overbey <com-eclipse-dot-org>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: com-eclipse-dot-org
Version: 6.0.3   
Target Milestone: 6.0.7   
Hardware: Macintosh   
OS: Mac OS X   
Whiteboard:
Attachments:
Description Flags
PNG image of the broken outline view
none
Patch g.watson: iplog+

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.