1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-28 02:59:54 +00:00

Format boot.janet with janet-format.

This commit is contained in:
Calvin Rose 2022-06-10 19:13:23 -05:00
parent 181f0341f5
commit c75b088ff8

View File

@ -1842,7 +1842,7 @@
(when isarr
(array/push anda (get-length-sym s))
(def pattern-len
(if-let [ rest-idx (find-index (fn [x] (= x '&)) pattern) ]
(if-let [rest-idx (find-index (fn [x] (= x '&)) pattern)]
rest-idx
(length pattern)))
(array/push anda [<= pattern-len (get-length-sym s)]))
@ -3154,7 +3154,9 @@
(endtoken)
(tuple/slice tokens))
(set parse-blocks (fn parse-blocks [indent]
(set
parse-blocks
(fn parse-blocks [indent]
(var new-indent indent)
(var p-start nil)
(var p-end nil)