From c52794f9d420e319900f27e9f16c8444e8842e92 Mon Sep 17 00:00:00 2001 From: Charlie Stanton Date: Fri, 21 Jul 2023 13:00:57 +0100 Subject: Fixes JSONWriter to work with implicit data structures --- subex/parse.go | 1 + 1 file changed, 1 insertion(+) (limited to 'subex/parse.go') diff --git a/subex/parse.go b/subex/parse.go index 7d0e586..6c19df4 100644 --- a/subex/parse.go +++ b/subex/parse.go @@ -339,6 +339,7 @@ func parseSubex(l RuneReader, minPower int, runic bool) SubexAST { if runic { lhs = SubexASTCopyRune {r} } else { + // TODO: Allow whitespace outside of runic sections panic("Tried to match rune outside of string") } } -- cgit v1.2.3