Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 347191 - Correct Indentation handles line continuations incorrectly
Summary: Correct Indentation handles line continuations incorrectly
Status: CLOSED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: Photran.For Internal Use (show other bugs)
Version: 7.0   Edit
Hardware: All All
: P2 major (vote)
Target Milestone: 8.0   Edit
Assignee: Jeffrey Overbey CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-25 12:49 EDT by Jeffrey Overbey CLA
Modified: 2012-05-08 13:39 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeffrey Overbey CLA 2011-05-25 12:49:46 EDT
(Photran 7 RC 2) Enter the following program:

program program
print *, 1, &
  & 2
print *, 3  !<<<<<<<<Select only this line
end

Select only the indicated line, and run Source > Correct Indentation.  The result is

program program
print *, 1, &
  & 2
  & print *, 3
end
Comment 1 Jeffrey Overbey CLA 2012-05-08 13:39:49 EDT
Committed and pushed to master for 8.0/Juno