X-Git-Url: https://gitweb.factorcode.org/gitweb.cgi?p=factor.git;a=blobdiff_plain;f=basis%2Fregexp%2Fcompiler%2Fcompiler.factor;h=9102836d68798eeb2ba16af6e9c23c143fe4a60f;hp=c4b3aa2b6981ebc0743576a6e817f2a5dbb151c9;hb=2f59f72ed58809c266ad1d2a777be7285d246a06;hpb=ab35fe6892088b0285b9cbc705a9acf3e619b959 diff --git a/basis/regexp/compiler/compiler.factor b/basis/regexp/compiler/compiler.factor index c4b3aa2b69..9102836d68 100644 --- a/basis/regexp/compiler/compiler.factor +++ b/basis/regexp/compiler/compiler.factor @@ -1,7 +1,7 @@ ! Copyright (C) 2009 Daniel Ehrenberg. ! See http://factorcode.org/license.txt for BSD license. USING: accessors assocs combinators combinators.short-circuit -kernel kernel.private math namespaces regexp.classes +kernel kernel.private math namespaces quotations regexp.classes regexp.transition-tables sequences sequences.private sets strings unicode words ; IN: regexp.compiler @@ -51,7 +51,7 @@ M: word-break question>quot [ question>> question>quot ] [ yes>> ] [ no>> ] tri [ (execution-quot) ] bi@ '[ 2dup @ _ _ if ] - ] [ '[ _ execute ] ] if ; + ] [ 1quotation ] if ; : execution-quot ( next-state -- quot ) dup sequence? [ first ] when