Bug 4077 - parser puts a double entry for "includes" sometimes
Summary: parser puts a double entry for "includes" sometimes
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Rick Moseley
URL:
Keywords:
Depends on:
Blocks: 1633 3392
  Show dependency treegraph
 
Reported: 2007-02-19 16:31 UTC by Rick Moseley
Modified: 2007-02-19 18:49 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments
This file causes /usr/include/bits to be added twice. (1.30 KB, text/x-csrc)
2007-02-19 16:34 UTC, Rick Moseley
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rick Moseley 2007-02-19 16:31:22 UTC
A list of includes for each source file is kept in the DOM for parsing purposes
so symbols can be identified.  It appears sometimes that a duplicate include
gets into the list.  Although this does not appear to hurt anything, it can
cause unnecessary processing of the include file and if it is very large could
seriously degrade source window performance.
Comment 1 Rick Moseley 2007-02-19 16:34:01 UTC
Created attachment 1567 [details]
This file causes /usr/include/bits to be added twice.

This file causes /usr/include/bits to be included twice in the list of includes
to be processed for a source file.
Comment 2 Rick Moseley 2007-02-19 16:34:44 UTC
Added trackers.
Comment 3 Rick Moseley 2007-02-19 18:49:51 UTC
Fixed in cvs HEAD.