diff options
author | Ryo Nihei <nihei.dev@gmail.com> | 2021-08-28 00:18:19 +0900 |
---|---|---|
committer | Ryo Nihei <nihei.dev@gmail.com> | 2021-08-28 00:18:51 +0900 |
commit | a769f496ecba60a73d74c445f5894ce52be800ee (patch) | |
tree | eeeb9b4040eee106fe18be8ac252651ef7eaaf4f /spec/grammar.go | |
parent | Add error symbol and #recover directive to recover from an error state (diff) | |
download | urubu-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.go | 1 |
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 { |