[PATCH 2/2] tests: Test wayland-scanner with a description in an entry

2021-06-15 Thread James Legg
This previously would have caused a memory leak and incorrect comments. Signed-off-by: James Legg --- tests/data/example-client.h | 20 ++-- tests/data/example-server.h | 20 ++-- tests/data/example.xml | 26 ++ 3 files changed, 34

[PATCH 1/2] scanner: Use descriptions in entries

2021-06-15 Thread James Legg
descriptions. Fixes #208 Signed-off-by: James Legg --- src/scanner.c | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/src/scanner.c b/src/scanner.c index 46bdfc2..64df6e8 100644 --- a/src/scanner.c +++ b/src/scanner.c @@ -236,6 +236,7 @@ struct entry

scanner: use descriptions in entries

2021-06-15 Thread James Legg
This series fixes https://gitlab.freedesktop.org/wayland/wayland/-/issues/208 and alters a test to confirm it. I know I'm supposed to use a gitlab pull request, but I can't create an account as there is an error with reCAPTCHA, already reported here: https://lists.freedesktop.org/archives/sitewr