Update src/grammar/README.md

This commit is contained in:
Florian Hahn 2014-12-30 16:49:27 +01:00
parent f066acf645
commit 1e278c1cd1

View File

@ -1,7 +1,7 @@
Reference grammar.
Uses [antlr4](http://www.antlr.org/) and a custom Rust tool to compare
ASTs/token streams generated. You can use the `check-syntax` make target to
ASTs/token streams generated. You can use the `check-lexer` make target to
run all of the available tests.
To use manually:
@ -12,7 +12,7 @@ javac *.java
rustc -O verify.rs
for file in ../*/**.rs; do
echo $file;
grun RustLexer tokens -tokens < $file | ./verify $file || break
grun RustLexer tokens -tokens < $file | ./verify $file RustLexer.tokens || break
done
```