From 53f7d4ecfb7b101c29115d3ba7285757808bbb9c Mon Sep 17 00:00:00 2001 From: aarne Date: Tue, 22 Jun 2004 12:33:31 +0000 Subject: fixes in parsing --- src/GF/API.hs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/GF/API.hs') diff --git a/src/GF/API.hs b/src/GF/API.hs index ca97af146..62318c743 100644 --- a/src/GF/API.hs +++ b/src/GF/API.hs @@ -201,9 +201,10 @@ optLinearizeTree opts0 gr t = case getOptVal opts transferFun of lin mk | oElem showRecord opts = liftM prt . linearizeNoMark g c - | oElem tableLin opts = liftM (unlines . map untok . prLinTable) . + | oElem tableLin opts = liftM (unlines . map untok . prLinTable True) . + allLinTables g c + | oElem showAll opts = liftM (unlines . map untok . prLinTable False) . allLinTables g c - | oElem showAll opts = return . unlines . linTree2strings mk g c | otherwise = return . unlines . optIntOrOne . linTree2strings mk g c g = grammar gr c = cncId gr -- cgit v1.2.3