]> gitweb.factorcode.org Git - factor.git/commitdiff
syntax: split snippets in example for ERROR:
authorrazetime <raghuallthetime@hotmail.com>
Tue, 6 Dec 2022 16:06:40 +0000 (21:36 +0530)
committerrazetime <raghuallthetime@hotmail.com>
Tue, 6 Dec 2022 16:06:40 +0000 (21:36 +0530)
core/syntax/syntax-docs.factor

index 24f72dc51df7753862ee09db4f680a20f9f861a4..db632bf70327ea023ddeaac6ce1ff2d8cf309cbc 100644 (file)
@@ -897,7 +897,9 @@ HELP: ERROR:
     "The following two snippets are equivalent:"
     { $code
         "ERROR: invalid-values x y ;"
-        ""
+    }
+    $nl
+    { $code
         "TUPLE: invalid-values x y ;"
         ": invalid-values ( x y -- * )"
         "    \\ invalid-values boa throw ;"