Summary: | Indexer syntax error only underlines the first character | ||
---|---|---|---|
Product: | [Tools] CDT | Reporter: | Brent Nicolle <bnicolle> |
Component: | cdt-core | Assignee: | Andrew Niefer <aniefer> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 2.0 | ||
Target Milestone: | 2.0.1 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Brent Nicolle
2004-06-29 17:10:40 EDT
That sounds like trouble in parser-offset land to me. Amigos? highlighting only one character happens when the parser returns offsets where the end offsets is <= the start offset. The real bug here is then, why is this error reported as a syntax error with little offset information instead of the semantic error. The error is now the correct semantic problem: "Attempt to use symbol failed : SomeUnknownType ..." Fix commited to HEAD only. Fix will be propagated to 2.0.1 stream later with the rest of the parser fixes. fix is now in 2.0.1 |