diff --git a/main/lib/eval/eval_analyze.c b/main/lib/eval/eval_analyze.c index 4eb86aa04..da5683003 100644 --- a/main/lib/eval/eval_analyze.c +++ b/main/lib/eval/eval_analyze.c @@ -397,7 +397,6 @@ static void analyze(EVAL_ANALYZE *result) next_type = type; get_symbol(*pattern, &symbol, &len); - len_before += len; space_before = space_after; space_after = FALSE; @@ -574,6 +573,7 @@ static void analyze(EVAL_ANALYZE *result) { add_result(result, symbol, len); add_data(RT_OPERATOR, len); + len_before += len; /*for(;;) { @@ -636,9 +636,10 @@ static void analyze(EVAL_ANALYZE *result) { add_result_char(result, '"'); len += 2; - len_before += 2; } + len_before += len; + if (EVAL->rewrite) { if (type == RT_STRING)