diff options
Diffstat (limited to 'src/exprtab.c')
-rw-r--r-- | src/exprtab.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/exprtab.c b/src/exprtab.c index 1d6422e..98a914b 100644 --- a/src/exprtab.c +++ b/src/exprtab.c @@ -1,5 +1,5 @@ /* This file is part of SLB - Copyright (C) 2011 Sergey Poznyakoff + Copyright (C) 2011, 2019 Sergey Poznyakoff SLB is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -318,8 +318,8 @@ fixup_expression(struct slb_expression *expr, struct grecs_symtab *vit) nodefixup(expr->ex_tree, vit, expr); clos.rc = grecs_error_count; clos.loc = &expr->ex_locus; - grecs_symtab_enumerate(expr->ex_vartab, report_undefined_refs, &clos); + grecs_symtab_foreach(expr->ex_vartab, report_undefined_refs, &clos); undo_output_refs(); - grecs_symtab_enumerate(vit, mark_used_instances, &expr->ex_locus); + grecs_symtab_foreach(vit, mark_used_instances, &expr->ex_locus); return clos.rc; } |