File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change 22
33Uses [ antlr4] ( http://www.antlr.org/ ) and a custom Rust tool to compare
44ASTs/token streams generated. You can use the ` make check-lexer ` target to
5- run all of the available tests.
5+ run all of the available tests or ` make check-grammar ` and focus on the grammar checks .
66
77The build of the rust part is included with ` make tidy ` and can be run with ` make check-build-lexer-verifier ` .
88
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+
922# Manual build
1023
1124To use manually, assuming antlr4 ist installed at ` /usr/share/java/antlr-complete.jar ` :
You can’t perform that action at this time.
0 commit comments