Auto merge of #37607 - dns2utf8:doc_grammar, r=alexcrichton
Fix grammar verification * Use make check-lexer to verify the grammar. * Extend grammar/README * Add make clean-grammar rule * Add target check-build-lexer-verifier to make tidy, so it will build the verifier with every build and catch future errors This is the continuation of #34994 r? @steveklabnik @jonathandturner @alexcrichton
This commit is contained in:
commit
6cd5be81cc
7 changed files with 37 additions and 12 deletions
6
configure
vendored
6
configure
vendored
|
|
@ -854,6 +854,12 @@ probe_need CFG_CMAKE cmake
|
|||
# probe for it only in this case.
|
||||
if [ -n "$CFG_ANTLR4" ]
|
||||
then
|
||||
CFG_ANTLR4_JAR="\"$(find /usr/ -name antlr-complete.jar 2>/dev/null | head -n 1)\""
|
||||
if [ "x" -eq "x$CFG_ANTLR4_JAR" ]
|
||||
then
|
||||
CFG_ANTLR4_JAR="\"$(find ~ -name antlr-complete.jar 2>/dev/null | head -n 1)\""
|
||||
fi
|
||||
putvar CFG_ANTLR4_JAR $CFG_ANTLR4_JAR
|
||||
probe CFG_JAVAC javac
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue