<- 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.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/subex/parse.go b/subex/parse.go
index 1d64c20..16bc620 100644
--- a/subex/parse.go
+++ b/subex/parse.go
@@ -43,7 +43,7 @@ func parseReplacement(l *RuneReader) (output []TransducerOutput) {
if slot == eof {
panic("Missing slot character")
}
- output = append(output, TransducerReplacementLoad{atom: slot})
+ output = append(output, TransducerReplacementLoad{slot: slot})
case '@', '~', '#':
output = append(output, TransducerReplacementAtom{atom: parseTerminatorAtomLiteral(r, l)})
default: