summaryrefslogtreecommitdiff
path: root/src/compiler/GF
diff options
context:
space:
mode:
authorkr.angelov <kr.angelov@gmail.com>2013-10-30 14:42:29 +0000
committerkr.angelov <kr.angelov@gmail.com>2013-10-30 14:42:29 +0000
commita4194501fe2c60a19160c811c1a7818da5ce715e (patch)
tree325d3212391469fa522fe304c1c411d1ea92168b /src/compiler/GF
parent5bc9e959d0bbc6f6e2e646d1cf1b72b335d32c87 (diff)
linref is now used by the linearizer. The visible change is that the 'l' command in the shell now can linearize discontinuous phrases
Diffstat (limited to 'src/compiler/GF')
-rw-r--r--src/compiler/GF/Command/Commands.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/GF/Command/Commands.hs b/src/compiler/GF/Command/Commands.hs
index 681b64f0d..8a19d2729 100644
--- a/src/compiler/GF/Command/Commands.hs
+++ b/src/compiler/GF/Command/Commands.hs
@@ -1166,7 +1166,7 @@ allCommands = Map.fromList [
map (map (unl . snd)) . tabularLinearizes pgf lang
_ | isOpt "table" opts -> unlines . concat . intersperse [[]] .
map (map (\(p,v) -> p+++":"+++unl v)) . tabularLinearizes pgf lang
- _ | isOpt "bracket" opts -> showBracketedString . bracketedLinearize pgf lang
+ _ | isOpt "bracket" opts -> unwords . map showBracketedString . bracketedLinearize pgf lang
_ -> unl . linearize pgf lang
-- replace each non-atomic constructor with mkC, where C is the val cat