also search ancestor::struct when doing name lookup

[SVN r37603]
This commit is contained in:
Eric Niebler 2007-05-06 17:16:56 +00:00
parent 78a4d97076
commit 1fd93209ff

View File

@ -271,13 +271,14 @@
<xsl:with-param name="node" select="$node"/>
</xsl:call-template>
</xsl:variable>
<!-- The set of using directives for this context node -->
<xsl:variable name="directives"
select="$context/ancestor::*/using-namespace |
$context/ancestor::namespace |
$context/ancestor::*/using-class |
$context/ancestor::class"/>
$context/ancestor::class |
$context/ancestor::struct"/>
<!-- The name of the current directive -->
<xsl:variable name="this-context">