modern: fix # standalone
parent
dc1cb5b7d1
commit
46b0e8d44f
|
@ -334,8 +334,8 @@ MACRO:: read-matched ( ch -- quot: ( string n tag -- string n' slice' ) )
|
||||||
|
|
||||||
! #{ } turned off, foo# not turned off
|
! #{ } turned off, foo# not turned off
|
||||||
: read-turnoff ( string n slice -- string n' obj )
|
: read-turnoff ( string n slice -- string n' obj )
|
||||||
dup { [ "#" head? ] [ "#" sequence= not ] } 1&& [
|
dup "#" head? [
|
||||||
[ lex-factor ] dip swap 2array
|
[ lex-factor ] dip swap [ 2array ] when* ! ``{ # foo }`` or ``#`` standalone
|
||||||
] [
|
] [
|
||||||
merge-slice-til-whitespace
|
merge-slice-til-whitespace
|
||||||
] if ;
|
] if ;
|
||||||
|
|
Loading…
Reference in New Issue