Parse error on empty %token list
Open
- Dominant language
- Haskell
- Stars
- 322
- Forks
- 86
- PR merge metrics
- No merged PRs in 30d
Description
Happy does not accept the empty list after `%token`.
CUP for instance, can live without terminals.
Is there a reason why an empty token list should not at least be parsed?
(I admit there are no sensible grammars if there are no tokens, but: garbage-in-garbage-out.)
Contributor guide
Assessment
This issue has not been assessed yet.