Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 362926 - missing ENDFORALL template
Summary: missing ENDFORALL template
Status: RESOLVED WONTFIX
Alias: None
Product: PTP
Classification: Tools
Component: Photran.Editor & Outline View (show other bugs)
Version: 7.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Photran Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-04 12:52 EDT by Matt Chan CLA
Modified: 2012-02-29 20:31 EST (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 Matt Chan CLA 2011-11-04 12:52:22 EDT
Hi,

There isn't an ENDFORALL syntax template currently, but there are some for the ENDIF, ENDDO, etc. 

Would it be possible to add it in please?

I've inherited a shared codebase and the previous programmer decided to use ENDFORALL exclusively. I'd like to avoid replacing everything because it introduces differences between my code and his when we run a diff and also since the gfortran compiler doesn't seem to mind the ENDFORALL syntax.

Thanks,
Matt
Comment 1 Matt Chan CLA 2011-11-04 13:01:24 EDT
Sorry for all the emails...

I just noticed that the ENDWHERE template is also missing.

Matt
Comment 2 Jeffrey Overbey CLA 2012-02-29 20:31:35 EST
Hi Matt,

Thanks for the bug report.  We didn't include any individual code templates for END statements; they're all matched with the statement that starts a construct.  However, you can add them in yourself (or modify the existing templates).  Click on Windows > Preferences > Fortran > Templates, and you can either use the "Edit" button to change an existing template or the "New" button to insert a new one.

Hope this helps.

Jeff