diff options
author | Ryo Nihei <nihei.dev@gmail.com> | 2022-04-21 21:22:12 +0900 |
---|---|---|
committer | Ryo Nihei <nihei.dev@gmail.com> | 2022-04-21 21:22:12 +0900 |
commit | 0aa3e53b50649052371edc9c09b470a63f889371 (patch) | |
tree | 396993cf0d2a4a92eafed4b594535077a0ac1892 /driver/parser.go | |
parent | Update README (diff) | |
download | cotia-0aa3e53b50649052371edc9c09b470a63f889371.tar.gz cotia-0aa3e53b50649052371edc9c09b470a63f889371.tar.xz |
vartan-show command prints only adopted actions when conflicts occur
Diffstat (limited to 'driver/parser.go')
-rw-r--r-- | driver/parser.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/driver/parser.go b/driver/parser.go index 4c7397f..e8d9968 100644 --- a/driver/parser.go +++ b/driver/parser.go @@ -377,11 +377,6 @@ func (p *Parser) searchLookahead(state int) []string { continue } - if term == p.gram.EOF() { - kinds = append(kinds, "<eof>") - continue - } - if alias := p.gram.TerminalAlias(term); alias != "" { kinds = append(kinds, alias) } else { |