summary: Allow empty symbol lookups

This is just a temporary workaround for a failed lookup; no time to debug at
the moment.

* src/current/summary.xsl (preproc:sym-lookup): Allow empty sequence as
  return value.
master v2.6.1
Mike Gerwitz 2017-12-19 11:00:52 -05:00
parent 87ab3ff468
commit 872da96f9e
1 changed files with 1 additions and 1 deletions

View File

@ -2241,7 +2241,7 @@
linked, in which case it should not be rendered at all. Maybe we should
output those somewhere.
-->
<xsl:function name="preproc:sym-lookup" as="element( preproc:sym )">
<xsl:function name="preproc:sym-lookup" as="element( preproc:sym )?">
<xsl:param name="name" as="xs:string" />
<xsl:sequence select="$program/l:dep/preproc:sym[ @name=$name ]" />