From 949488696597f2ec0dabb32e697dbbfdb5ea0f45 Mon Sep 17 00:00:00 2001 From: Midgard Date: Sun, 26 Jan 2020 15:30:32 +0100 Subject: [PATCH] Fix error in grammar that made some comments illegal The comment in this location header should be supported, but wasn't: ============================================= fitchen: Fitchen osm https://www.openstreetmap.org/node/3394542496 # Menu: https://www.fitchen.be/wp-content/uploads/2019/12/FITCHEN_gids_02122019_3web.pdf ============================================= --- app/hlds/hlds.tatsu | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/hlds/hlds.tatsu b/app/hlds/hlds.tatsu index d1edf86..bf48a1a 100644 --- a/app/hlds/hlds.tatsu +++ b/app/hlds/hlds.tatsu @@ -14,10 +14,11 @@ start = [n] { @+:location } $ ; location_header = - /={3,}\n/ ~ + /={3,}/ n ~ id:identifier ':' s name:string attributes:{ location_attribute } - /\n={3,}\n+/ + [ n ] + /={3,}\n+/ ; location_attribute =