]> gitweb.factorcode.org Git - factor.git/commitdiff
lists.factor: rest: --> .
authorkusumotonorio <47816570+kusumotonorio@users.noreply.github.com>
Sat, 15 Feb 2020 13:29:10 +0000 (22:29 +0900)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sun, 23 Feb 2020 03:58:55 +0000 (19:58 -0800)
basis/lists/lists.factor

index fa646ad08be191743270888fd5e77b3765483042..0251f95c50cabcfdecefb79de46b6443c8e304cb 100644 (file)
@@ -113,7 +113,7 @@ M: sequence >list sequence>list ;
 :: (parse-list-literal) ( accum right-of-dot? -- accum )
     accum scan-token {
         { "}" [ +nil+ , ] }
-        { "rest:" [ t (parse-list-literal) ] }
+        { "." [ t (parse-list-literal) ] }
         [
             parse-datum dup parsing-word? [
                 V{ } clone swap execute-parsing first