Symbols: Don't include NoSymbols in the map
authorDaniel Stone <daniel@fooishbar.org>
Mon, 4 Jun 2012 12:01:33 +0000 (13:01 +0100)
committerDaniel Stone <daniel@fooishbar.org>
Mon, 4 Jun 2012 12:01:33 +0000 (13:01 +0100)
commit98b155c80a0e85009d92f1a61e4d963542c1798e
tree08fca1c75d1cdfa329614b1f08149b0fb385f0c7
parent28e66a703a56deaedf26a8d3c0f82f99d5e79a6f
Symbols: Don't include NoSymbols in the map

Instead of using NoSymbol in the map, we use num_syms == 0 to signify
the non-presence of a symbol.  So instead of adding NoSymbol mappings
to the list regardless, detect them and set num_syms == 0.

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
src/xkbcomp/symbols.c