summaryrefslogtreecommitdiff
path: root/console-client
diff options
context:
space:
mode:
Diffstat (limited to 'console-client')
-rw-r--r--console-client/xkb/parser.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/console-client/xkb/parser.y b/console-client/xkb/parser.y
index 9fe2a394..93966e76 100644
--- a/console-client/xkb/parser.y
+++ b/console-client/xkb/parser.y
@@ -336,8 +336,8 @@ mods:
mods '+' rmod { $$.rmods = $1.rmods | $3; }
| mods '+' vmod { $$.vmods = $1.vmods | $3; }
/* Use a mid-rule action to start with no modifiers. */
-| { $$.rmods = 0; $$.vmods = 0 } rmod { $$.rmods = $2; }
-| { $$.rmods = 0; $$.vmods = 0 } vmod { $$.vmods = $2; }
+| { $<modmap>$.rmods = 0; $<modmap>$.vmods = 0 } rmod { $$.rmods = $2; }
+| { $<modmap>$.rmods = 0; $<modmap>$.vmods = 0 } vmod { $$.vmods = $2; }
| "all" { $$.rmods = 0xFF; $$.vmods = 0xFFFF}
| "none" { $$.rmods = 0; $$.vmods = 0 }
;