scanner: Use descriptions in entries
authorJames Legg <lankyleggy@gmail.com>
Wed, 2 Jun 2021 23:10:21 +0000 (00:10 +0100)
committerPekka Paalanen <pq@iki.fi>
Wed, 7 Jul 2021 12:11:42 +0000 (12:11 +0000)
commit51d336ec140a8e44b74a5f3b3fcdf6e0038f9c86
tree54c0cea56b15802f36748dbf87e63804a7cc453f
parent767765d584df2c7ec759eab8edfaa79f31a2b692
scanner: Use descriptions in entries

entry may have a description according to the DTD. This is used in
some protocols including xdg-shell.

Fixes the code comment on an enum declaration using the description of
the last enum that had one, adds the descriptions to the comments on
enumerators, and avoids leaking the previously missing descriptions.

Fixes #208

Signed-off-by: James Legg <lankyleggy@gmail.com>
Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
src/scanner.c