From de41d22942cadd3e7dac5e85c7e57abbf1b316dd Mon Sep 17 00:00:00 2001 From: Diego Nieto Cid Date: Sat, 31 Jul 2010 01:12:39 -0300 Subject: Skip to main file's default section when needed. --- console-client/xkb/parser.y | 2 ++ 1 file changed, 2 insertions(+) (limited to 'console-client') diff --git a/console-client/xkb/parser.y b/console-client/xkb/parser.y index 8f5a1605..328fa606 100644 --- a/console-client/xkb/parser.y +++ b/console-client/xkb/parser.y @@ -1486,6 +1486,8 @@ parse_xkbconfig (char *xkbdir, char *xkbkeymapfile, char *xkbkeymap) if (xkbkeymap) skip_to_sectionname (xkbkeymap, XKBKEYMAP); + else + skip_to_defaultsection(); } else /* Use defaults. */ { -- cgit v1.2.3