aboutsummaryrefslogtreecommitdiff
path: root/spec/spec.go
diff options
context:
space:
mode:
authorRyo Nihei <nihei.dev@gmail.com>2021-05-07 23:27:58 +0900
committerRyo Nihei <nihei.dev@gmail.com>2021-05-07 23:27:58 +0900
commit8682098aa9034af1b796c7e9bca9fd24b3226ccf (patch)
treee67d1728ec7d001bd6ee9578ca2f30a59930ef93 /spec/spec.go
parentAdd transition table compressor (diff)
downloadtre-8682098aa9034af1b796c7e9bca9fd24b3226ccf.tar.gz
tre-8682098aa9034af1b796c7e9bca9fd24b3226ccf.tar.xz
Change type of acceping_states to slice
Diffstat (limited to 'spec/spec.go')
-rw-r--r--spec/spec.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/spec.go b/spec/spec.go
index 1dba132..7398ea3 100644
--- a/spec/spec.go
+++ b/spec/spec.go
@@ -171,7 +171,7 @@ type UniqueEntriesTable struct {
type TransitionTable struct {
InitialState int `json:"initial_state"`
- AcceptingStates map[int]int `json:"accepting_states"`
+ AcceptingStates []int `json:"accepting_states"`
RowCount int `json:"row_count"`
ColCount int `json:"col_count"`
Transition *UniqueEntriesTable `json:"transition,omitempty"`