]> gitweb.factorcode.org Git - factor.git/commitdiff
peg: make check-action inline.
authorJohn Benediktsson <mrjbq7@gmail.com>
Mon, 23 Nov 2020 21:28:59 +0000 (13:28 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Mon, 23 Nov 2020 21:35:13 +0000 (13:35 -0800)
basis/peg/peg.factor

index 9da44893ac3ba66f75b0fad1ceb60311f105a82e..44c04f0f2ef9805a162db801de2bc2d7d501b502 100644 (file)
@@ -461,7 +461,7 @@ M: ensure-not-parser (compile)
 TUPLE: action-parser parser quot ;
 
 : check-action ( result quot -- result )
-    dupd '[ [ _ call( ast -- ast ) ] change-ast ] when ;
+    dupd '[ _ change-ast ] when ; inline
 
 M: action-parser (compile)
     [ parser>> compile-parser-quot ] [ quot>> ] bi