Commit b36d5b23d243171208b6a3fe4b2c43ba3199104a

Ran Benita 2013-02-25T17:00:53

parser: also skip 'section' ELEMENT It's for geometry only. Signed-off-by: Ran Benita <ran234@gmail.com>

1
2
3
4
5
6
7
8
9
10
11
12
13
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