parser: allow escaped word names.

locals-and-roots
Doug Coleman 2016-06-06 12:13:42 -07:00
parent 8904b85df1
commit 38f56e39e3
1 changed files with 5 additions and 1 deletions

View File

@ -109,7 +109,11 @@ ERROR: staging-violation word ;
] when ;
: scan-parsing-word ( -- word )
scan-object dup wrapper? [ wrapped>> ] when ;
?scan-token dup "\\" = [
drop scan-word
] [
parse-word
] if ;
ERROR: classoid-expected object ;