Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 350497 - problem with locating declaration of derived data type variables
Summary: problem with locating declaration of derived data type variables
Status: NEW
Alias: None
Product: PTP
Classification: Tools
Component: Photran.Refactoring Engine (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P4 major (vote)
Target Milestone: ---   Edit
Assignee: Photran Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 271515
Blocks:
  Show dependency tree
 
Reported: 2011-06-27 16:00 EDT by Hari Krishnan CLA
Modified: 2012-03-01 11:08 EST (History)
1 user (show)

See Also:


Attachments
comments bug image (196.73 KB, image/png)
2011-06-27 16:03 EDT, Hari Krishnan CLA
no flags Details
derived data fail (207.81 KB, image/png)
2011-06-27 16:04 EDT, Hari Krishnan CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hari Krishnan CLA 2011-06-27 16:00:07 EDT
Build Identifier: Build id: I20110613-1736

We have a derived data type called CCTK_INT and CCTK_REAL and variables of their type. The photran refactor engine cannot locate the declaration of the variable and collapses then for the other variables of the direct type too. The AST is hampered I guess.
Then the next bug is F90 and CPP are not working well especially with the comments like /*@@. the outline windows shows syntaxException showing the unexpected /.

Reproducible: Always

Steps to Reproduce:
1.Just create a new derived data type in a file and use the derived data type in another file and do locate declaration.
2.Create a fortran project with cpp files and comment some lines such as /*@@ you get to see the unexpected / as syntax exception in outline window.
3.
Comment 1 Hari Krishnan CLA 2011-06-27 16:03:20 EDT
Created attachment 198681 [details]
comments bug image

The outline shows the syntax exception with this sort of comments in fortran F90 file
Comment 2 Hari Krishnan CLA 2011-06-27 16:04:00 EDT
Created attachment 198682 [details]
derived data fail

The types of CCTK_ are not recognized when asked to locate the declaration of the instances of the type.