parser: also skip 'section' ELEMENT It's for geometry only. Signed-off-by: Ran Benita <ran234@gmail.com>
diff --git a/src/xkbcomp/parser.y b/src/xkbcomp/parser.y
index 53b7ca6..90ac75e 100644
--- a/src/xkbcomp/parser.y
+++ b/src/xkbcomp/parser.y
@@ -544,7 +544,7 @@ Element : ACTION_TOK
| INDICATOR
{ $$ = xkb_atom_intern(param->ctx, "indicator"); }
| SHAPE
- { $$ = xkb_atom_intern(param->ctx, "shape"); }
+ { $$ = XKB_ATOM_NONE; }
| ROW
{ $$ = XKB_ATOM_NONE; }
| SECTION