| Summary: | Odd coloring for Source Window on some files | ||
|---|---|---|---|
| Product: | frysk | Reporter: | Rick Moseley <rmoseley> |
| Component: | general | Assignee: | Rick Moseley <rmoseley> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Host: | Target: | ||
| Build: | Last reconfirmed: | ||
| Project(s) to access: | ssh public key: | ||
| Bug Depends on: | |||
| Bug Blocks: | 1633, 3392 | ||
|
Description
Rick Moseley
2007-06-21 19:30:31 UTC
This was a problem with the CDTParser not being able to handle source lines with macros on them properly. Looking at the source of the parser we imported from the Eclipse CDT project there are a few places in the code where the handling of macros have "TODO" comments placed around them. Further exploration showed improper information was being passed back from the parser indicating where variables/functions/etc. were located. Instead of trying to fix the problems inside the parser(which could take weeks IMHO), I added a couple of methods to the CDT parser that corrects the problems of locating the variables/parameters/etc. Hopefully we can look forward to importing a newer version of the CDT parser sometime from the Eclipse project. |