modern: minor cleanup
parent
55bc0cb1b2
commit
157297c190
|
@ -387,9 +387,8 @@ ERROR: backslash-expects-whitespace slice ;
|
||||||
! If the slice is 0 width, we stopped on whitespace.
|
! If the slice is 0 width, we stopped on whitespace.
|
||||||
! Advance the index and read again!
|
! Advance the index and read again!
|
||||||
: read-token-or-whitespace ( n string slice -- n' string slice )
|
: read-token-or-whitespace ( n string slice -- n' string slice )
|
||||||
dup length 0 =
|
[ [ 1 + ] dip lex-factor ]
|
||||||
[ drop [ 1 + ] dip lex-factor ]
|
[ make-tag-literal ] if-empty ;
|
||||||
[ make-tag-literal ] if ;
|
|
||||||
|
|
||||||
ERROR: mismatched-terminator n string slice ;
|
ERROR: mismatched-terminator n string slice ;
|
||||||
: read-terminator ( n string slice -- n' string slice )
|
: read-terminator ( n string slice -- n' string slice )
|
||||||
|
|
Loading…
Reference in New Issue