From 0e9dcfb9067585e4698b050c0d4f4dff3efe4377 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Mon, 26 May 2025 10:38:33 +0200 Subject: fix Sequence-wrap OneOrMore() --- syntax/def_PlainWords.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'syntax/def_PlainWords.py') diff --git a/syntax/def_PlainWords.py b/syntax/def_PlainWords.py index 735595b..4af2d12 100755 --- a/syntax/def_PlainWords.py +++ b/syntax/def_PlainWords.py @@ -9,8 +9,10 @@ Diagram( NonTerminal("PRINTABLES"), Choice(0, OneOrMore( - NonTerminal("_"), - NonTerminal("PRINTABLES") + Sequence( + NonTerminal("_"), + NonTerminal("PRINTABLES") + ) ), Skip() ), -- cgit v1.2.3