diff options
Diffstat (limited to 'parse-events.c')
-rw-r--r-- | parse-events.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/parse-events.c b/parse-events.c index 2dbd47b..ce95e6e 100644 --- a/parse-events.c +++ b/parse-events.c | |||
@@ -2167,6 +2167,11 @@ process_flags(struct event_format *event, struct print_arg *arg, char **tok) | |||
2167 | field = alloc_arg(); | 2167 | field = alloc_arg(); |
2168 | 2168 | ||
2169 | type = process_arg(event, field, &token); | 2169 | type = process_arg(event, field, &token); |
2170 | |||
2171 | /* Handle operations in the first argument */ | ||
2172 | while (type == EVENT_OP) | ||
2173 | type = process_op(event, field, &token); | ||
2174 | |||
2170 | if (test_type_token(type, token, EVENT_DELIM, ",")) | 2175 | if (test_type_token(type, token, EVENT_DELIM, ",")) |
2171 | goto out_free; | 2176 | goto out_free; |
2172 | free_token(token); | 2177 | free_token(token); |