]> gitweb.factorcode.org Git - factor.git/commitdiff
parser: make sure lines is an array.
authorJohn Benediktsson <mrjbq7@gmail.com>
Sat, 28 Jul 2012 02:06:22 +0000 (19:06 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sat, 28 Jul 2012 02:06:22 +0000 (19:06 -0700)
core/parser/parser.factor

index 0bbb8d4424eff120c953307cfd6be0a7bf43dbe1..873ca9db4ca0d371ffaed086caf46c360888d6f5 100644 (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