aboutsummaryrefslogtreecommitdiff
path: root/spec/grammar/parser.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Prohibit using a pattern in an alternativeRyo Nihei2022-06-121-1/+16
| | | | | | When a syntax error occurs, the parser must provide a user with the names of expected tokens. However, if a pattern appears directly in an alternative, Vartan cannot assign an appropriate name to the pattern. Therefore, this commit prohibits alternatives from containing patterns.
* Rename spec package to spec/grammar packageRyo Nihei2022-05-271-0/+567