<- Back to shtanton's homepage
aboutsummaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/parse.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/parse.go b/main/parse.go
index dc86fd6..0c534e8 100644
--- a/main/parse.go
+++ b/main/parse.go
@@ -43,7 +43,7 @@ func (p *parser) parseSubex() subex.SubexAST {
panic("Missing subex from substitution")
}
var subexProgram string
- if delim.val == "=" || delim.val == "~" || delim.val == "\"" || delim.val == "`" {
+ if delim.val == "=" || delim.val == "~" || delim.val == "\"" || delim.val == "`" || delim.val == "^" {
subexProgram = delim.val + subexProgramToken.val + delim.val
} else {
subexProgram = subexProgramToken.val