docbook.tcl: fix up some problems using a modern Tcl
authorJon Trulson <jon@radscan.com>
Wed, 19 Sep 2018 01:02:49 +0000 (19:02 -0600)
committerJon Trulson <jon@radscan.com>
Wed, 19 Sep 2018 23:40:25 +0000 (17:40 -0600)
commit776e031b60ccf7fc78a3343587624e2fe1e34657
treedfc5457927f4af597e2b2b833724234e04df3335
parent68559d4f760dbcc88ce880e2e5ebbed82f7dc9ec
docbook.tcl: fix up some problems using a modern Tcl

One issue that came up was attempting to read array values indexed by
a key that didn't exist when generating indexes and glossaries.

I am not sure why this hasn't been a problem before, but for now, we
simply won't try to emit array values for non-existant array indexes.
cde/programs/dtdocbook/doc2sdl/docbook.tcl