src/current/include/preproc/symtable.xsl: Treat mutual missing extern @dtype as match

Extern resolution has apparently been failing for quite some time, resulting
in `preproc:error` nodes in the _symbol table_ of return maps.  This was
caught by the new xmlo parser, which does not ignore nodes it does not care
about.

The failure was caused by missing `@dtype`---the externs did in fact match,
and if they did not, then the linker would have failed.

This doesn't modify the map compiler to properly detect these, because
this compiler is going away in the hopefully-near future, and the problems
will now be caught, though in a very unideal way (as a parse error during
xmlo reading).

DEV-10936
main
Mike Gerwitz 2022-05-04 09:29:29 -04:00
parent 602cec5560
commit 43c99cb61a
1 changed files with 4 additions and 1 deletions

View File

@ -314,7 +314,10 @@
<if test="
not(
@type=$ours/@type
and @dtype=$ours/@dtype
and (
not( @dtype or $ours/@dtype )
or @dtype = $ours/@dtype
)
and (
@dim=$ours/@dim
or $ours/@dim='?'