Skip to content

Commit

Permalink
combinators.syntax: use DEFER: delimiter
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjbq7 committed Dec 2, 2024
1 parent aad2069 commit b421db6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extra/combinators/syntax/syntax.factor
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ USING: kernel parser sequences vectors words lexer quotations
combinators generalizations ;
IN: combinators.syntax

: | ( -- ) ; delimiter
DEFER: | delimiter

<PRIVATE
! unlike normal parse-until, this also pushes the thing that matched the predicate into the accumulator as well
Expand Down

0 comments on commit b421db6

Please sign in to comment.