From 137a06586a64aab1d43864250488835eb596876b Mon Sep 17 00:00:00 2001 From: Krasimir Angelov Date: Wed, 30 Aug 2017 16:36:57 +0200 Subject: [PATCH] "lc" was a temporary hack and is now removed from the C shell --- src/compiler/GF/Command/Commands2.hs | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/src/compiler/GF/Command/Commands2.hs b/src/compiler/GF/Command/Commands2.hs index b70bfb9e3..15065fa52 100644 --- a/src/compiler/GF/Command/Commands2.hs +++ b/src/compiler/GF/Command/Commands2.hs @@ -317,27 +317,6 @@ pgfCommands = Map.fromList [ ("lang","the languages of linearization (comma-separated, no spaces)") ] }), -{- - ("lc", emptyCommandInfo { - longname = "linearize_chunks", - synopsis = "linearize a tree that has metavariables in maximal chunks without them", - explanation = unlines [ - "A hopefully temporary command, intended to work around the type checker that fails", - "trees where a function node is a metavariable." - ], - examples = [ - mkEx "l -lang=LangSwe,LangNor -chunks ? a b (? c d)" - ], - exec = \env@(pgf, mos) opts -> return . fromStrings . optLins pgf (opts ++ [OOpt "chunks"]), - options = [ - ("treebank","show the tree and tag linearizations with language names") - ] ++ stringOpOptions, - flags = [ - ("lang","the languages of linearization (comma-separated, no spaces)") - ], - needsTypeCheck = False - }), --} ("ma", emptyCommandInfo { longname = "morpho_analyse", synopsis = "print the morphological analyses of the (multiword) expression in the string",