lexer: fix output type of map-tokens
parent
a566d8cc6b
commit
dde21c3cc4
|
@ -104,7 +104,7 @@ PREDICATE: unexpected-eof < unexpected got>> not ;
|
|||
} cond ; inline recursive
|
||||
|
||||
: map-tokens ( ... end quot: ( ... token -- ... elt ) -- ... seq )
|
||||
collector [ each-token ] dip ; inline
|
||||
collector [ each-token ] dip { } like ; inline
|
||||
|
||||
: parse-tokens ( end -- seq )
|
||||
[ ] map-tokens ;
|
||||
|
|
Loading…
Reference in New Issue