From 13ed4cd7dcfa1fa791447a771618eba81b0d51f3 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Wed, 22 May 2019 12:57:35 -0400 Subject: [PATCH] Clean up extclass remenants This is left over from f2db9f12682476437fe60c4a63c6d4e93e8f2258, in which I should have cleaned all of this up. One of our developers was hitting the removed warning, which isn't necessary since the concept of a separate "classifier" is no longer a thing after the aforementioned commit. * rater/rater.xsd (no-extclass, no-extclass-keeps): Remove. * src/current/rater.xsd: Likewise. (I really need to deduplicate these.) * src/current/compiler/js.xsl (compiler:entry-rater): Remove inaccurate comment (genclasses is used for other things). * src/current/include/depgen.xsl (preproc:depgen-match): Remove error checking for pulling in non-external classes (this is the error that the developer hit that is no longer needed). * src/current/include/preproc/eligclass.xsl (preproc:sym): Remove `@extclass' predicate. Remove portion of comment. * src/current/include/preproc/expand.xsl: Remove ancient footnote that even references an old internal rater! * src/current/include/preproc/macros.xsl (preproc:class-groupgen): Remove external propagation. * src/current/include/preproc/symtable.xsl (preproc:symimport): Remove extclass checks and propagation. (preproc:symtable)[lv:rate]: Remove external propagation. [lv:classify]: Likewise. * src/current/include/preproc/template.xsl (preproc:inline-apply): Remove external sym metadata support. --- rater/rater.xsd | 20 ----------- src/current/compiler/js.xsl | 1 - src/current/include/depgen.xsl | 22 ------------ src/current/include/preproc/eligclass.xsl | 6 ---- src/current/include/preproc/expand.xsl | 43 ----------------------- src/current/include/preproc/macros.xsl | 4 --- src/current/include/preproc/symtable.xsl | 24 +++++-------- src/current/include/preproc/template.xsl | 3 -- src/current/rater.xsd | 20 ----------- 9 files changed, 8 insertions(+), 135 deletions(-) diff --git a/rater/rater.xsd b/rater/rater.xsd index f2ad50f2..d91c6584 100644 --- a/rater/rater.xsd +++ b/rater/rater.xsd @@ -439,17 +439,6 @@ - - - - Do not import symbols flagged as external to the classifier. - - This is of limited use outside of specialized settings, such as the - UI classifier. - - - - @@ -1935,15 +1924,6 @@ - - - - When importing @keep symbols from packages, ignore those flagged - as @extclass - - - - diff --git a/src/current/compiler/js.xsl b/src/current/compiler/js.xsl index 97e637da..1b7b19b6 100644 --- a/src/current/compiler/js.xsl +++ b/src/current/compiler/js.xsl @@ -101,7 +101,6 @@ var classes = {}; - var genclasses = {}; diff --git a/src/current/include/depgen.xsl b/src/current/include/depgen.xsl index 428f159b..8decc67c 100644 --- a/src/current/include/depgen.xsl +++ b/src/current/include/depgen.xsl @@ -440,28 +440,6 @@