diff options
author | Ryo Nihei <nihei.dev@gmail.com> | 2022-11-05 14:21:13 +0900 |
---|---|---|
committer | Ryo Nihei <nihei.dev@gmail.com> | 2022-11-05 14:21:13 +0900 |
commit | b24f61a465d21af404ed647a977160042017e601 (patch) | |
tree | 0b695a6775ed6a0a7bb41404b598055855417673 /spec/grammar | |
parent | Update README (diff) | |
download | cotia-b24f61a465d21af404ed647a977160042017e601.tar.gz cotia-b24f61a465d21af404ed647a977160042017e601.tar.xz |
Remove alias system
Remove unimportant features to tidy up the specification.
Diffstat (limited to 'spec/grammar')
-rw-r--r-- | spec/grammar/description.go | 1 | ||||
-rw-r--r-- | spec/grammar/grammar.go | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/spec/grammar/description.go b/spec/grammar/description.go index dd66950..68b16be 100644 --- a/spec/grammar/description.go +++ b/spec/grammar/description.go @@ -4,7 +4,6 @@ type Terminal struct { Number int `json:"number"` Name string `json:"name"` Anonymous bool `json:"anonymous"` - Alias string `json:"alias"` Pattern string `json:"pattern"` Precedence int `json:"prec"` Associativity string `json:"assoc"` diff --git a/spec/grammar/grammar.go b/spec/grammar/grammar.go index af87504..ddd0466 100644 --- a/spec/grammar/grammar.go +++ b/spec/grammar/grammar.go @@ -18,7 +18,6 @@ type Maleeni struct { Spec *mlspec.CompiledLexSpec `json:"spec"` KindToTerminal []int `json:"kind_to_terminal"` Skip []int `json:"skip"` - KindAliases []string `json:"kind_aliases"` } type ParsingTable struct { |