about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-11-26 09:44:27 -0800
committerAlex Crichton <alex@alexcrichton.com>2014-11-26 16:49:36 -0800
commit60299d75e2ad7e4de6482bfc50f7b5f471c1f55c (patch)
tree401b9cbd676fab7d3cbe70b55f6f95e16c8b732b
parent3649c2a39f26e59c73e96bc7e6bf7d7d025b6be3 (diff)
parentba9e02f862b0540b809ea7c064eb7b4f04fd7512 (diff)
rollup merge of #19282: steveklabnik/remove_grammar
I stumbled across this today, and it's not really working. It's been around for a very, very long time, and seems to be based on stuff we don't even have anymore.

I asked in `#rust-internals`, and @cmr said we should just kill it, so here I am. :) I don't think that anything else uses Java, but maybe I missed something.

And if this _isn't_ what we want, I'm fine with closing too. Just some housekeeping.
-rwxr-xr-xconfigure1
-rw-r--r--mk/docs.mk20
2 files changed, 0 insertions, 21 deletions
diff --git a/configure b/configure
index 5ac39822059..613f62db9e4 100755
--- a/configure
+++ b/configure
@@ -624,7 +624,6 @@ probe CFG_LD               ld
 probe CFG_VALGRIND         valgrind
 probe CFG_PERF             perf
 probe CFG_ISCC             iscc
-probe CFG_LLNEXTGEN        LLnextgen
 probe CFG_JAVAC            javac
 probe CFG_ANTLR4           antlr4
 probe CFG_GRUN             grun
diff --git a/mk/docs.mk b/mk/docs.mk
index 48eb9e81c20..59b17ff16de 100644
--- a/mk/docs.mk
+++ b/mk/docs.mk
@@ -247,26 +247,6 @@ $(foreach lang,$(L10N_LANGS),$(eval $(call DEF_L10N_DOC,$(lang),guide)))
 
 
 ######################################################################
-# LLnextgen (grammar analysis from refman)
-######################################################################
-
-ifeq ($(CFG_LLNEXTGEN),)
-  $(info cfg: no llnextgen found, omitting grammar-verification)
-else
-.PHONY: verify-grammar
-
-doc/rust.g: $(D)/rust.md $(S)src/etc/extract_grammar.py
-	@$(call E, extract_grammar: $@)
-	$(Q)$(CFG_PYTHON) $(S)src/etc/extract_grammar.py $< >$@
-
-verify-grammar: doc/rust.g
-	@$(call E, LLnextgen: $<)
-	$(Q)$(CFG_LLNEXTGEN) --generate-lexer-wrapper=no $< >$@
-	$(Q)rm -f doc/rust.c doc/rust.h
-endif
-
-
-######################################################################
 # Rustdoc (libstd/extra)
 ######################################################################