Add both variants of half open range patterns to the grammar

This is prompted by
https://github.com/rust-analyzer/rust-analyzer/issues/9779, but it
is not actually a prerequisite of making that one happen as this commit
doesn't change the generated code on the r-a side.
1 file changed
tree: 1f4c91587e7709ba7a5e5392680430ca2ffac82e
  1. .github/
  2. src/
  3. ungrammar2json/
  4. .gitignore
  5. bors.toml
  6. Cargo.toml
  7. README.md
  8. rust.ungram
  9. ungrammar.ungram
README.md

ungrammar

A DSL for specifying concrete syntax trees. See this introductory post.

See ./rust.ungram for an example.