From a769f496ecba60a73d74c445f5894ce52be800ee Mon Sep 17 00:00:00 2001 From: Ryo Nihei Date: Sat, 28 Aug 2021 00:18:19 +0900 Subject: Add an #alias directive to define a user-friendly name of a terminal --- spec/grammar.go | 1 + 1 file changed, 1 insertion(+) (limited to 'spec/grammar.go') 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 { -- cgit v1.2.3