This line collects the dependencies of a relative reference:
|
collectSpecificDependencies(result, baseGrammar, selfGrammar, include.substring(1), patternRepository); |
However, it passes in the patternRepository of the current rule.
collectSpecificDependencies then continues to use this patternRepository as new local context for resolving relative references.
However, collectSpecificDependencies should continue with the repository of its own parents.
Related: #174
This line collects the dependencies of a relative reference:
vscode-textmate/src/grammar.ts
Line 139 in 9157c7f
However, it passes in the
patternRepositoryof the current rule.collectSpecificDependenciesthen continues to use thispatternRepositoryas new local context for resolving relative references.However,
collectSpecificDependenciesshould continue with therepositoryof its own parents.Related: #174