]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/listener/listener.factor
continuations[-docs]: add the finally word
[factor.git] / basis / listener / listener.factor
index 46806b5404781e38af974784beb210bc142b6432..b308ab5947ee1485643b6d92292b1f98ca4490c8 100644 (file)
@@ -33,7 +33,7 @@ SYMBOL: handle-ctrl-break
     ! Always call disable-ctrl-break, no matter what handle-ctrl-break
     ! says: it might've been changed just now by the user in the Listener.
     ! It's a no-op if it's not enabled.
-    [ disable-ctrl-break ] [ ] cleanup ; inline
+    [ disable-ctrl-break ] finally ; inline
 
 : parse-lines-interactive ( lines -- quot/f )
     [ [ parse-lines ] with-ctrl-break ] with-compilation-unit ;