From 746f8cb379ee975ea2d50a813cfa5221b87d179a Mon Sep 17 00:00:00 2001 From: Diego Nieto Cid Date: Mon, 19 Jul 2010 15:27:27 -0300 Subject: Add type to $$ in mid-rules. (see http://www.mail-archive.com/help-bison@gnu.org/msg02159.html ) --- console-client/xkb/parser.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'console-client') 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; } +| { $$.rmods = 0; $$.vmods = 0 } rmod { $$.rmods = $2; } +| { $$.rmods = 0; $$.vmods = 0 } vmod { $$.vmods = $2; } | "all" { $$.rmods = 0xFF; $$.vmods = 0xFFFF} | "none" { $$.rmods = 0; $$.vmods = 0 } ; -- cgit v1.2.3