summaryrefslogtreecommitdiff
path: root/scope.c
diff options
context:
space:
mode:
Diffstat (limited to 'scope.c')
-rw-r--r--scope.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scope.c b/scope.c
index 016d4bb..a180c3b 100644
--- a/scope.c
+++ b/scope.c
@@ -99,7 +99,7 @@ static void fn_exit(FnExpr *f) {
static bool each_enter(Expression *e) {
assert(e->kind == EXPR_EACH);
EachExpr *ea = e->each;
- if (ea->index && ea->index == ea->value) {
+ if (ea->index && ea->index == ea->value) {
err_print(e->where, "The identifier for the index of an each loop must be different from the identifier for the value.");
return false;
}