<- Back to shtanton's homepage
aboutsummaryrefslogtreecommitdiff
path: root/subex/subexstate.go
diff options
context:
space:
mode:
Diffstat (limited to 'subex/subexstate.go')
-rw-r--r--subex/subexstate.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/subex/subexstate.go b/subex/subexstate.go
index 56063c0..4655ef9 100644
--- a/subex/subexstate.go
+++ b/subex/subexstate.go
@@ -52,7 +52,7 @@ func (state SubexDiscardState) accepting(store Store, outputStack OutputStack) [
// Pop the top of the OutputStack which contains the stuff outputted since the start of the store
// This outputted data gets stored in a slot
type SubexStoreEndState struct {
- slot rune
+ slot int
next SubexState
}
func (state SubexStoreEndState) eat(store Store, outputStack OutputStack, char walk.Atom) []SubexBranch {
@@ -80,7 +80,7 @@ func (replacement OutputAtomLiteral) build(store Store) []walk.Atom {
// An OutputContent which is a slot that is loaded from
type OutputLoad struct {
- slot rune
+ slot int
}
func (replacement OutputLoad) build(store Store) []walk.Atom {
return store[replacement.slot]