projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bb9df5
)
parse filters and actionlists inside an action list correctly
author
Dana Jansens
<danakj@orodu.net>
Wed, 3 Aug 2011 21:03:11 +0000
(17:03 -0400)
committer
Dana Jansens
<danakj@orodu.net>
Sun, 30 Sep 2012 15:59:29 +0000
(11:59 -0400)
openbox/action_parser.c
patch
|
blob
|
history
diff --git
a/openbox/action_parser.c
b/openbox/action_parser.c
index 2b328cd1f809f0a599060f29fc7ff217cbfd9366..5809493615ddd1f7b0cc0b10dc6894351f77c71e 100644
(file)
--- a/
openbox/action_parser.c
+++ b/
openbox/action_parser.c
@@
-174,7
+174,7
@@
ObActionList* parse_list(ObActionParser *p, GTokenType end, gboolean *e)
else if (t == ';') {
g_scanner_get_next_token(p->scan); /* separator */
}
- else if (t == G_TOKEN_IDENTIFIER) {
+ else if (t == G_TOKEN_IDENTIFIER
|| t == '[' || t == '{'
) {
ObActionList *next;
/* parse the next action and stick it on the end of the list */