aboutsummaryrefslogtreecommitdiff
path: root/def_Paragraph.py
diff options
context:
space:
mode:
Diffstat (limited to 'def_Paragraph.py')
-rwxr-xr-xdef_Paragraph.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/def_Paragraph.py b/def_Paragraph.py
index d5bd00e..2f8e68d 100755
--- a/def_Paragraph.py
+++ b/def_Paragraph.py
@@ -7,7 +7,6 @@ from os.path import basename, splitext
from railroad import *
Diagram(
- Start("complex"),
NonTerminal("Words"),
Choice(0,
OneOrMore(
@@ -19,6 +18,6 @@ Diagram(
OneOrMore(
NonTerminal("NEWLINE")
),
- End("complex")
+ type="complex"
).writeStandalone(
open(splitext(basename(__file__))[0] + ".svg", "w").write)