<- Back to shtanton's homepage
aboutsummaryrefslogtreecommitdiff
path: root/subex
diff options
context:
space:
mode:
authorCharlie Stanton <charlie@shtanton.xyz>2023-07-21 13:00:57 +0100
committerCharlie Stanton <charlie@shtanton.xyz>2023-07-21 13:00:57 +0100
commitc52794f9d420e319900f27e9f16c8444e8842e92 (patch)
treed2dedfba9879d4d412f298fcf258c37dcbf9233c /subex
parentac153f2b90b966baaf132a487514ae2194a64dd5 (diff)
downloadstred-go-c52794f9d420e319900f27e9f16c8444e8842e92.tar
Fixes JSONWriter to work with implicit data structures
Diffstat (limited to 'subex')
-rw-r--r--subex/parse.go1
1 files changed, 1 insertions, 0 deletions
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")
}
}