]> gitweb.factorcode.org Git - factor.git/blobdiff - core/syntax/syntax.factor
change ERROR: words from throw-foo back to foo.
[factor.git] / core / syntax / syntax.factor
index 8a993646757793aea23b084bc415775eebcffaef..55f8561a4768d3b8f85c32ff15114070e5e13a8e 100644 (file)
@@ -31,7 +31,7 @@ IN: bootstrap.syntax
 
 : define-core-syntax ( name quot -- )
     [
-        dup "syntax" lookup-word [ ] [ throw-no-word-error ] ?if
+        dup "syntax" lookup-word [ ] [ no-word-error ] ?if
         mark-top-level-syntax
     ] dip
     define-syntax ;
@@ -261,7 +261,7 @@ IN: bootstrap.syntax
             literalize suffix!
             \ (call-next-method) suffix!
         ] [
-            throw-not-in-a-method-error
+            not-in-a-method-error
         ] if*
     ] define-core-syntax