summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRan Benita <ran234@gmail.com>2013-02-25 17:00:53 +0200
committerDaniel Stone <daniel@fooishbar.org>2013-03-18 22:20:03 +0000
commitb36d5b23d243171208b6a3fe4b2c43ba3199104a (patch)
tree2a85aa79e419102ea1f33519a0283bc85cd2a10a /src
parent35657c660a121175062d285e714d7ce088b01f31 (diff)
parser: also skip 'section' ELEMENT
It's for geometry only. Signed-off-by: Ran Benita <ran234@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/xkbcomp/parser.y2
1 files changed, 1 insertions, 1 deletions
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