<- Back to shtanton's homepage
aboutsummaryrefslogtreecommitdiff
path: root/subex/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'subex/main.go')
-rw-r--r--subex/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/subex/main.go b/subex/main.go
index 4451a00..091625b 100644
--- a/subex/main.go
+++ b/subex/main.go
@@ -26,7 +26,7 @@ func (store Store) withValue(key rune, value []walk.Atom) Store {
// Compile the SubexAST into a transducer SubexState that can be run
func CompileTransducer(transducerAst SubexAST) SubexState {
- return transducerAst.compileWith(SubexNoneState{})
+ return transducerAst.compileWith(&SubexNoneState{})
}
// An immutable stack for outputting to