was reversing the keylist
authorDana Jansens <danakj@orodu.net>
Wed, 26 Mar 2003 13:40:20 +0000 (13:40 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 26 Mar 2003 13:40:20 +0000 (13:40 +0000)
plugins/keyboard/keysrc.yacc

index c1f977e..3e4eeff 100644 (file)
@@ -39,8 +39,8 @@ config:
   ;
 
 fields:
-  FIELD { $$ = g_list_prepend(NULL, $1); }
-  | fields FIELD { $$ = g_list_prepend($1, $2); }
+  FIELD { $$ = g_list_append(NULL, $1); }
+  | fields FIELD { $$ = g_list_append($1, $2); }
   ;
 
 %%