]> gitweb.factorcode.org Git - factor.git/commitdiff
graphviz.notation: fix $example to compile properly.
authorJohn Benediktsson <mrjbq7@gmail.com>
Fri, 5 May 2017 19:17:31 +0000 (12:17 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Fri, 5 May 2017 19:17:31 +0000 (12:17 -0700)
extra/graphviz/notation/notation-docs.factor

index 368dea0bd53e4acc13b129f2e52312ccd2189ab8..a8a5bc47b0387126002438e6bb0d354db90bafc2 100644 (file)
@@ -406,7 +406,7 @@ $nl
     ""
     "    ! This is not OK:"
     "    [ 1 2 <edge> \"b\" =labelloc add ]"
-    "    [ 2drop \"not for edges!\" write ] recover"
+    "    [ drop \"not for edges!\" write ] recover drop"
     "not for edges!"
 }
 $nl