diff options
Diffstat (limited to 'parse-events.c')
-rw-r--r-- | parse-events.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/parse-events.c b/parse-events.c index eb3f230..8cdc986 100644 --- a/parse-events.c +++ b/parse-events.c | |||
@@ -1219,6 +1219,7 @@ process_op(struct event *event, struct print_arg *arg, char **tok) | |||
1219 | } else if (strcmp(token, "[") == 0) { | 1219 | } else if (strcmp(token, "[") == 0) { |
1220 | 1220 | ||
1221 | left = malloc_or_die(sizeof(*left)); | 1221 | left = malloc_or_die(sizeof(*left)); |
1222 | *left = *arg; | ||
1222 | 1223 | ||
1223 | arg->type = PRINT_OP; | 1224 | arg->type = PRINT_OP; |
1224 | arg->op.op = token; | 1225 | arg->op.op = token; |