diff options
Diffstat (limited to 'src/lexer.c')
-rw-r--r-- | src/lexer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lexer.c b/src/lexer.c index b96e3a5..b9d6f64 100644 --- a/src/lexer.c +++ b/src/lexer.c @@ -222,6 +222,8 @@ lexer_handle_eachdo(directive_t *directive, } operands->content = strndup(buffer, new_match->offset); + operands->length + = match->offset + match->length + new_match->offset + new_match->length; free(new_match); directive->operands = operands; |