summaryrefslogtreecommitdiff
path: root/openbox/parse.y
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-04-04 20:19:12 +0000
committerDana Jansens <danakj@orodu.net>2003-04-04 20:19:12 +0000
commit68ff2eb3d2d7874e780000143cbee9a8e7c2e57f (patch)
treeeed6077d7eedb92fac0c8c3c51c56577be15f82e /openbox/parse.y
parentc8ff993e08e73f030a2efdb4f01c5f65464555e7 (diff)
add the keyboard plugin into the build systems
keyboard bindings are parsed from the rc file
Diffstat (limited to 'openbox/parse.y')
-rw-r--r--openbox/parse.y8
1 files changed, 4 insertions, 4 deletions
diff --git a/openbox/parse.y b/openbox/parse.y
index 37bd3dc3..f8b0a044 100644
--- a/openbox/parse.y
+++ b/openbox/parse.y
@@ -13,7 +13,7 @@
char *identifier;
gboolean bool;
char character;
- GSList *list;
+ GList *list;
}
%{
@@ -89,12 +89,12 @@ listtokens:
listtokens listtoken { ParseToken *nt = g_new(ParseToken, 1);
nt->type = t.type;
nt->data = t.data;
- $$ = g_slist_append($1, nt);
+ $$ = g_list_append($1, nt);
}
- | token { ParseToken *nt = g_new(ParseToken, 1);
+ | listtoken { ParseToken *nt = g_new(ParseToken, 1);
nt->type = t.type;
nt->data = t.data;
- $$ = g_slist_append(NULL, nt);
+ $$ = g_list_append(NULL, nt);
}
;