]> git.saurik.com Git - bison.git/blobdiff - doc/figs/example-shift.dot
graphs: documentation
[bison.git] / doc / figs / example-shift.dot
diff --git a/doc/figs/example-shift.dot b/doc/figs/example-shift.dot
new file mode 100644 (file)
index 0000000..995ba0e
--- /dev/null
@@ -0,0 +1,9 @@
+digraph "shift.y"
+{
+  node [fontname=courier shape=box]
+  edge [fontname=courier]
+
+  3 [label="State 3\n  1 exp: a . \".\"\l"]
+  3 -> 6 [style=solid label="\".\""]
+  6 [label="State 6\n  1 exp: a \".\" .\l"]
+}