diff options
Diffstat (limited to 'libmu_sieve/variables.c')
-rw-r--r-- | libmu_sieve/variables.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/libmu_sieve/variables.c b/libmu_sieve/variables.c index 91550ef0a..ec242874b 100644 --- a/libmu_sieve/variables.c +++ b/libmu_sieve/variables.c @@ -226,9 +226,12 @@ set_tag_checker (mu_sieve_machine_t mach) *mu_sieve_get_tag_n (mach, j + 1) = *t; else if (prec == tmp_prec) { - mu_diag_at_locus (MU_LOG_ERROR, &mach->locus, - _("%s and %s can't be used together"), - tmp.tag, t->tag); + mu_diag_at_locus_range (MU_LOG_ERROR, &t->locus, + _("%s and %s can't be used together"), + tmp.tag, t->tag); + mu_diag_at_locus_range (MU_LOG_ERROR, &tmp.locus, + _("%s encountered here"), + tmp.tag); mu_i_sv_error (mach); return 1; } |