]> gitweb.factorcode.org Git - factor.git/commitdiff
lint: add a lint for keep
authorDoug Coleman <doug.coleman@gmail.com>
Sat, 25 Feb 2023 04:58:09 +0000 (22:58 -0600)
committerDoug Coleman <doug.coleman@gmail.com>
Sun, 26 Feb 2023 23:11:04 +0000 (17:11 -0600)
extra/lint/lint.factor

index e19b6dbfe5080d0841340723636738cd3e635fb4..4b42ab08384523ca7618281efd4d10afaee55922 100644 (file)
@@ -28,6 +28,7 @@ CONSTANT: manual-substitutions
         { when [ [ ] if ] }
         { spin [ swap rot ] }
         { >boolean [ f = not ] }
+        { keep [ over [ call ] dip ] }
     }
 
 CONSTANT: trivial-defs