]> gitweb.factorcode.org Git - factor.git/commitdiff
sequences.parser: lint changes from previous commits
authorolus2000 <alsabak@gmail.com>
Sun, 14 Jan 2024 10:11:39 +0000 (11:11 +0100)
committerJohn Benediktsson <mrjbq7@gmail.com>
Mon, 15 Jan 2024 19:27:49 +0000 (11:27 -0800)
basis/compression/run-length/run-length.factor
extra/lint/vocabs/vocabs.factor

index 1e1a6609a9df7c594b087392433c2db6d4f5a9db..50a8c32d6cc596c2ee82bfaa77f21871385373a3 100644 (file)
@@ -28,7 +28,8 @@ IN: compression.run-length
                 nip {
                     { 0 [ i 1 + i!  0 j! ] }
                     { 1 [ t done?! ] }
-                    { 2 [ sp consume j + j!  sp consume i + i! ] }
+                    { 2 [ sp consume j + j!
+                          sp consume i + i! ] }
                 } case
             ] if
         ] [
@@ -60,7 +61,8 @@ IN: compression.run-length
                 nip {
                     { 0 [ i 1 + i!  0 j! ] }
                     { 1 [ t done?! ] }
-                    { 2 [ sp consume j + j!  sp consume i + i! ] }
+                    { 2 [ sp consume j + j!
+                          sp consume i + i! ] }
                 } case
             ] if
         ] [
index 1bc7ca9537c5dd37ec40bbec2e845c4bb2fd8a0e..f13678935a87a68ba551d704f2c2b18caf026639 100644 (file)
@@ -167,7 +167,7 @@ DEFER: next-token
 ! Words for finding the words used in a program
 ! and stripping out import statements
 : skip-imports ( sequence-parser -- sequence-parser string/? )
-    dup consume { 
+    dup consume {
         { "USING:"  [ ";" skip-after* f ] }
         { "USE:"    [        advance  f ] }
         [ ]