From bd3762502f8bc433e9504a690fad1e1284c3735b Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Sun, 14 Apr 2013 13:32:15 -0700 Subject: [PATCH] effects.parser: Fix word -> current-word for definition errors. --- core/effects/parser/parser.factor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/effects/parser/parser.factor b/core/effects/parser/parser.factor index b25dcbd27c..746e512d55 100644 --- a/core/effects/parser/parser.factor +++ b/core/effects/parser/parser.factor @@ -57,7 +57,7 @@ SYMBOL: in-definition ERROR: can't-nest-definitions word ; : check-in-definition ( -- ) - in-definition get [ word can't-nest-definitions ] when ; + in-definition get [ current-word can't-nest-definitions ] when ; : with-definition ( quot -- ) [ check-in-definition t in-definition ] dip with-variable ; inline