From cb660ed60f20436919bd1c91d5b92c03b4585ec9 Mon Sep 17 00:00:00 2001 From: Zach Smith Date: Mon, 28 Dec 2020 21:54:52 -0500 Subject: [PATCH] Some changes after testing with subsetpark --- mago.janet | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mago.janet b/mago.janet index 7c2631a..6506426 100644 --- a/mago.janet +++ b/mago.janet @@ -25,5 +25,7 @@ (let [peg (case separator default-separator default-peg (peg separator)) - [front body] (peg/match peg src)] - {:front (boot-parse front) :body body})) + matched (peg/match peg src)] + (match matched + [front body] {:front (boot-parse front) :body body} + {:front {} :body src}))) -- 2.45.2