Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 343945 - syntax highlighting of relational operators
Summary: syntax highlighting of relational operators
Status: NEW
Alias: None
Product: PTP
Classification: Tools
Component: Photran.Editor & Outline View (show other bugs)
Version: 8.0.2   Edit
Hardware: PC Linux
: P4 minor (vote)
Target Milestone: ---   Edit
Assignee: Photran Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-27 08:18 EDT by Daniel Harenberg CLA
Modified: 2012-10-03 09:59 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Harenberg CLA 2011-04-27 08:18:42 EDT
To reproduce: In the Photran editor, type ne (or any other scalar relational operator) in any .f90 file. Note: do not type the surrounding periods (i.e. do not type .ne.) but only the two alphabetical letters.

Further information: One could have variables (or labels) with that name (ne, ge, etc), which should not be highlighted. Syntax highlighting should only occur when the two letters are immediately preceded and followed by a period.
Comment 1 Daniel Harenberg CLA 2011-04-27 11:12:03 EDT
the same holds for 

not
and
or
eqv
true
false
Comment 2 Daniel Harenberg CLA 2012-10-03 09:58:59 EDT
Bug still present in Eclipse Juno, PTP 6.0.2/Photran 8.0.2