We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3112f6a commit b166144Copy full SHA for b166144
src/grammar/README.md
@@ -2,10 +2,23 @@
2
3
Uses [antlr4](http://www.antlr.org/) and a custom Rust tool to compare
4
ASTs/token streams generated. You can use the `make check-lexer` target to
5
-run all of the available tests.
+run all of the available tests or `make check-grammar` and focus on the grammar checks.
6
7
The build of the rust part is included with `make tidy` and can be run with `make check-build-lexer-verifier`.
8
9
+## Running one grammar test
10
+
11
+First you need to setup your environment:
12
+```
13
+./configure
14
+make check-grammar
15
16
17
+Then run the check you would like:
18
19
+grammar/parser-lalr < src/test/compile-fail/E0063.rs
20
21
22
# Manual build
23
24
To use manually, assuming antlr4 ist installed at `/usr/share/java/antlr-complete.jar`:
0 commit comments