summaryrefslogtreecommitdiff
path: root/console-client
diff options
context:
space:
mode:
authorDiego Nieto Cid <dnietoc@gmail.com>2010-07-19 15:27:27 -0300
committerDiego Nieto Cid <dnietoc@gmail.com>2011-04-04 22:26:10 -0300
commit746f8cb379ee975ea2d50a813cfa5221b87d179a (patch)
tree596f515cef3e7b56aa80a1cce0e66b7c8344ae25 /console-client
parent77ac8c4286f1015ef19bb92d5f6e9263ca5bc1e9 (diff)
Add type to $$ in mid-rules.
(see http://www.mail-archive.com/help-bison@gnu.org/msg02159.html )
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 }
;