From c4944ac64053102d1176159fb82ab32947be95e3 Mon Sep 17 00:00:00 2001 From: byung-o <97991510+byung-o@users.noreply.github.com> Date: Wed, 2 Nov 2022 11:48:08 -0400 Subject: [PATCH] Update grammar.py --- src/daidepp/grammar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/daidepp/grammar.py b/src/daidepp/grammar.py index e608b47..f856ef3 100644 --- a/src/daidepp/grammar.py +++ b/src/daidepp/grammar.py @@ -47,7 +47,7 @@ def from_level(level: DAIDE_LEVEL, allow_just_arrangment: bool = False): "unit_type": '"AMY" / "FLT"', "unit": "power ws unit_type ws province", "prov_no_coast": "prov_land_sea / prov_landlock / prov_sea", - "prov_coast": '(lpar "STP" ws "SCS" rpar) / (lpar "STP" ws "SCS" rpar) / (lpar "SPA" ws "NCS" rpar) / (lpar "SPA" ws "SCS" rpar) / (lpar "BUL" ws "ECS" rpar) / (lpar "BUL" ws "SCS" rpar)', + "prov_coast": '(lpar "STP" ws "NCS" rpar) / (lpar "STP" ws "SCS" rpar) / (lpar "SPA" ws "NCS" rpar) / (lpar "SPA" ws "SCS" rpar) / (lpar "BUL" ws "ECS" rpar) / (lpar "BUL" ws "SCS" rpar)', "province": "prov_land_sea / prov_landlock / prov_sea / prov_coast", "coast": '"NCS" / "ECS" / "SCS" / "WCS"', "prov_land_sea": '"ALB" / "ANK" / "APU" / "ARM" / "BEL" / "BER" / "BRE" / "BUL" / "CLY" / "CON" / "DEN" / "EDI" / "FIN" / "GAS" / "GRE" / "HOL" / "KIE" / "LON" / "LVN" / "LVP" / "MAR" / "NAF" / "NAP" / "NWY" / "PIC" / "PIE" / "POR" / "PRU" / "ROM" / "RUM" / "SEV" / "SMY" / "SPA" / "STP" / "SWE" / "SYR" / "TRI" / "TUN" / "TUS" / "VEN" / "YOR" / "WAL"',