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

Bug 326258

Summary: Syntax highlighting for SIZE, LEN, KIND intrinsics incorrect
Product: [Tools] PTP Reporter: Daniel Harenberg <dharenberg>
Component: Photran.Editor & Outline ViewAssignee: Jeffrey Overbey <com-eclipse-dot-org>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: P3 CC: com-eclipse-dot-org, dharenberg
Version: 6.0.3   
Target Milestone: 7.0   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Patch g.watson: iplog+

Description Daniel Harenberg CLA 2010-09-26 13:01:59 EDT
Build Identifier: 20100617-1415

The Fortran 90 intrinsics SIZE, LEN, KIND do not display in the right format (typically italic light pink) in the editor or debugger view.

Reproducible: Always
Comment 1 Daniel Harenberg CLA 2010-11-03 10:31:32 EDT
Same for intrinsic REAL
Comment 2 Daniel Harenberg CLA 2010-12-15 12:01:02 EST
Same for intrinsic ALL
Comment 3 Jeffrey Overbey CLA 2011-03-17 14:34:02 EDT
This is also true for "logical" and "precision"

The problem seems to be that these can also be keywords; when they are not, the syntax highlighter is defaulting to identifier coloring rather than intrinsic coloring
Comment 4 Jeffrey Overbey CLA 2011-03-17 14:55:50 EDT
Created attachment 191455 [details]
Patch
Comment 5 Jeffrey Overbey CLA 2011-03-17 15:07:23 EDT
Thanks for the report.  This is fixed in Photran 7.0.

Patch committed to HEAD
Comment 6 Jeffrey Overbey CLA 2011-03-17 15:16:20 EDT
*** Bug 328357 has been marked as a duplicate of this bug. ***