Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 335387

Summary: The first chained operator<< is not highlighted
Product: [Tools] CDT Reporter: Andrew Gvozdev <angvoz.dev>
Component: cdt-parserAssignee: Markus Schorn <mschorn.eclipse>
Status: RESOLVED FIXED QA Contact: Markus Schorn <mschorn.eclipse>
Severity: normal    
Priority: P3 CC: cdtdoug
Version: 8.0   
Target Milestone: 8.0   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
testcase + fix mschorn.eclipse: iplog-

Description Andrew Gvozdev CLA 2011-01-25 16:40:53 EST
Only second operator<< is highlighted. Likewise, I cannot jump with F3 on the first one. Using code from HEAD.

#include <sstream>
int main() {

    std::ostringstream ss;
    ss << "one"  << "Two";

	return 0;
}
Comment 1 Markus Schorn CLA 2011-01-26 10:35:00 EST
Created attachment 187645 [details]
testcase + fix
Comment 2 Markus Schorn CLA 2011-01-26 10:37:19 EST
Reproduced using MinGW,
Fixed in 8.0 > 20110126.