parser: make sure lines is an array.

db4
John Benediktsson 2012-07-27 19:06:22 -07:00
parent 391420eab0
commit c1269bc8a3
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ M: f parse-quotation \ ] parse-until >quotation ;
[ f parse-until >quotation ] with-lexer ;
: parse-lines ( lines -- quot )
<lexer> (parse-lines) ;
>array <lexer> (parse-lines) ;
: parse-literal ( accum end quot -- accum )
[ parse-until ] dip call suffix! ; inline