File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,7 +48,6 @@ import { Node } from './node';
4848
4949export class Runtime implements Searchable {
5050 public comments : Comment [ ] = [ ] ;
51- public includes : Include [ ] = [ ] ;
5251 public references : DtcRefNode [ ] = [ ] ;
5352 public unlinkedDeletes : DeleteNode [ ] = [ ] ;
5453 public unlinkedRefNodes : DtcRefNode [ ] = [ ] ;
Original file line number Diff line number Diff line change @@ -148,8 +148,10 @@ export class ContextAware {
148148 } ;
149149 } ;
150150
151- const runtime = await this . getRuntime ( ) ;
152- runtime . includes . forEach ( ( include ) => {
151+ [
152+ ...this . parser . includes ,
153+ ...this . overlayParsers . flatMap ( ( o ) => o . includes ) ,
154+ ] . forEach ( ( include ) => {
153155 let t = temp . get ( include . fsPath ) ;
154156 if ( ! t ) {
155157 t = [ ] ;
@@ -418,7 +420,6 @@ export class ContextAware {
418420 } ) ,
419421 ) ;
420422
421- runtime . includes = this . parser . includes ;
422423 runtime . comments = this . parser . cPreprocessorParser . allAstItems . filter (
423424 ( a ) => a instanceof Comment ,
424425 ) ;
You can’t perform that action at this time.
0 commit comments