aboutsummaryrefslogtreecommitdiff
path: root/spec/grammar.go
diff options
context:
space:
mode:
authorRyo Nihei <nihei.dev@gmail.com>2021-08-01 22:56:51 +0900
committerRyo Nihei <nihei.dev@gmail.com>2021-08-01 22:56:51 +0900
commit1fe733f82dd9ed2a3bf48a7d8fe8c9e0ee8a3965 (patch)
treeddb17e5a9726110ab485a79fccd1ecbcb53e0fca /spec/grammar.go
parentWrite terminals to a description file (diff)
downloadurubu-1fe733f82dd9ed2a3bf48a7d8fe8c9e0ee8a3965.tar.gz
urubu-1fe733f82dd9ed2a3bf48a7d8fe8c9e0ee8a3965.tar.xz
Use maleeni v0.3.0
Diffstat (limited to 'spec/grammar.go')
-rw-r--r--spec/grammar.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/grammar.go b/spec/grammar.go
index 625b6c2..eeeb372 100644
--- a/spec/grammar.go
+++ b/spec/grammar.go
@@ -15,8 +15,8 @@ type LexicalSpecification struct {
type Maleeni struct {
Spec *mlspec.CompiledLexSpec `json:"spec"`
- KindToTerminal [][]int `json:"kind_to_terminal"`
- Skip [][]int `json:"skip"`
+ KindToTerminal []int `json:"kind_to_terminal"`
+ Skip []int `json:"skip"`
}
type ParsingTable struct {