modern: Add some more terminators.

modern-harvey2
Doug Coleman 2017-08-26 01:42:04 -05:00
parent acfb3a8992
commit f049487021
1 changed files with 3 additions and 0 deletions

View File

@ -152,6 +152,9 @@ MACRO:: read-matched ( ch -- quot: ( n string tag -- n' string slice' ) )
: terminator? ( slice -- ? )
{
[ ";" sequence= ]
[ "]" sequence= ]
[ "}" sequence= ]
[ ")" sequence= ]
} 1|| ;
ERROR: token-expected n string obj ;