From b36d5b23d243171208b6a3fe4b2c43ba3199104a Mon Sep 17 00:00:00 2001 From: Ran Benita Date: Mon, 25 Feb 2013 17:00:53 +0200 Subject: [PATCH] parser: also skip 'section' ELEMENT It's for geometry only. Signed-off-by: Ran Benita --- src/xkbcomp/parser.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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