aboutsummaryrefslogtreecommitdiff
path: root/def_AnnotatedWords.py
diff options
context:
space:
mode:
Diffstat (limited to 'def_AnnotatedWords.py')
-rwxr-xr-xdef_AnnotatedWords.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/def_AnnotatedWords.py b/def_AnnotatedWords.py
index 842301b..8449ace 100755
--- a/def_AnnotatedWords.py
+++ b/def_AnnotatedWords.py
@@ -7,13 +7,12 @@ from os.path import basename, splitext
from railroad import *
Diagram(
- Start("complex"),
"[",
NonTerminal("Words"),
"]",
"{",
NonTerminal('![{}] PlainWords'),
"}",
- End("complex")
+ type="complex"
).writeStandalone(
open(splitext(basename(__file__))[0] + ".svg", "w").write)