aboutsummaryrefslogtreecommitdiff
path: root/spec/grammar.go
diff options
context:
space:
mode:
authorRyo Nihei <nihei.dev@gmail.com>2021-08-28 00:18:19 +0900
committerRyo Nihei <nihei.dev@gmail.com>2021-08-28 00:18:51 +0900
commita769f496ecba60a73d74c445f5894ce52be800ee (patch)
treeeeeb9b4040eee106fe18be8ac252651ef7eaaf4f /spec/grammar.go
parentAdd error symbol and #recover directive to recover from an error state (diff)
downloadurubu-a769f496ecba60a73d74c445f5894ce52be800ee.tar.gz
urubu-a769f496ecba60a73d74c445f5894ce52be800ee.tar.xz
Add an #alias directive to define a user-friendly name of a terminal
Diffstat (limited to 'spec/grammar.go')
-rw-r--r--spec/grammar.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/grammar.go b/spec/grammar.go
index 7901957..42e6dc2 100644
--- a/spec/grammar.go
+++ b/spec/grammar.go
@@ -18,6 +18,7 @@ type Maleeni struct {
KindToTerminal []int `json:"kind_to_terminal"`
TerminalToKind []int `json:"terminal_to_kind"`
Skip []int `json:"skip"`
+ KindAliases []string `json:"kind_aliases"`
}
type ParsingTable struct {