Ignore externs in local polluting symbol processing

* src/current/include/preproc/symtable.xsl (preproc:symimport lv:import):
  Ignore symbols flagged as externs when processing local polluted symbols.
master
Mike Gerwitz 2017-05-08 16:40:24 -04:00
parent 83e3d72b6e
commit 8e5666f845
1 changed files with 3 additions and 1 deletions

View File

@ -592,7 +592,9 @@
strip the data if this is a second-hand import -->
<!-- TODO: this list has gotten too large, but reducing it will require
refactoring other compilers and may reduce performance -->
<xsl:when test="@pollute='true' and @local='true'">
<xsl:when test="@pollute='true'
and @local='true'
and not( @extern='true' )">
<xsl:sequence select="@name, @src, @pollute, @keep, @parent, @extclass" />
</xsl:when>