Bug 232232 - Comments before a preprocessor statement are misplaced
Summary: Comments before a preprocessor statement are misplaced
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 5.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 5.0   Edit
Assignee: Markus Schorn CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2008-05-15 02:23 EDT by Emanuel Graf CLA
Modified: 2008-06-22 03:37 EDT (History)
2 users (show)

See Also:


Attachments
patch (4.70 KB, patch)
2008-05-15 02:23 EDT, Emanuel Graf CLA
bjorn.freeman-benson: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Emanuel Graf CLA 2008-05-15 02:23:29 EDT
Created attachment 100365 [details]
patch

Comments before a preprocessor statement are now assigned to the next node after the preprocessor statement. This can lead to a comment duplication during rewritting.
Comment 1 Markus Schorn CLA 2008-05-15 03:34:48 EDT
Thanks, I have committed your patch,
fixed in 5.0 > 20080515.
Comment 2 Doug Schaefer CLA 2008-06-03 13:58:45 EDT
Repopening to assign.
Comment 3 Doug Schaefer CLA 2008-06-03 13:59:40 EDT
replacing as fixed.