<- Back to shtanton's homepage
aboutsummaryrefslogtreecommitdiff
path: root/subex/parse.go
diff options
context:
space:
mode:
Diffstat (limited to 'subex/parse.go')
-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")
}
}