diff options
| -rw-r--r-- | def.peg | 2 | ||||
| -rwxr-xr-x | def_HardBreak.py | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -26,7 +26,7 @@ LinkedWords <- '[' Words ']' '(' Uri ')' AnnotatedWords <- '[' Words ']' '{' ![{}] PlainWords '}' PlainWords <- PRINTABLES (SPACE PRINTABLES)* Uri <- '<' ![<>] PRINTABLES? '>' / ![<>] PRINTABLES -HardBreak <- SPACE SPACE NEWLINE +HardBreak <- SPACE SPACE+ NEWLINE # Terminals PRINTABLES <- [[:graph:]]+ diff --git a/def_HardBreak.py b/def_HardBreak.py index 386487d..cdc3c62 100755 --- a/def_HardBreak.py +++ b/def_HardBreak.py @@ -9,7 +9,7 @@ from railroad import * Diagram( Start("complex"), NonTerminal("SPACE"), - NonTerminal("SPACE"), + OneOrMore(NonTerminal("SPACE")), NonTerminal("NEWLINE"), End("complex") ).writeStandalone( |
