Community
Participate
Working Groups
The following code is F2003 conforming but yields an error in the view 'Fortran Analysis/Refactoring Problems' (as well as in the 'Outline' view) type myStats real :: avg contains procedure :: write => write_stats end type myStats +++ Error message +++ Description: Error parsing /[edited path]: Syntax error: Unexpected equals ([edited name].f90, line 17, column 28). Expected one of the following: block, close, contains, abstract, class, identifier, return, interface, call, end of statement, go, print, subroutine, stop, allocatable, end, private, doubleprecision, all, implicit, if, end of input, dimension, goto, write, data, submodule, where, recursive, blockdata, select, allstop, codimension, import, use, intent, pause, backspace, endfile, selectcase, open, associate, elemental, character, nullify, rewind, bind, do, pointer, syncall, program, syncimages, syncmemory, wait, unlock, optional, double, module, read, allocate, equivalence, integer, entry, real, cycle, procedure, pure, integer constant, lock, intrinsic, format, namelist, asynchronous, critical, value, logical, forall, save, sync, inquire, assign, external, volatile, complex, protected, common, endprogram, public, enddo, contiguous, impure, enum, parameter, target, type, deallocate, function, continue, exit Resource: Path: Location: line -1
This bug is still present in the latest updates: Eclipse Juno, PTP 6.0.2/Photran 8.0.2
Still present in Photran 8.05
The reason I find this important is only because when there is a syntax exception one can't apply any refactorings to that file.
Upgrading to importance major (P4), because should be very easy to fix. Feel free to downgrade again.