diff options
| author | ra.monique <ra.monique@gmail.com> | 2010-12-06 10:15:14 +0000 |
|---|---|---|
| committer | ra.monique <ra.monique@gmail.com> | 2010-12-06 10:15:14 +0000 |
| commit | 7fba8c338d04777c82a2d04c4bc82a4da0e86659 (patch) | |
| tree | f9449ecd9dd3243b786fad377981ec84c9c3a7c8 /src/compiler/GF | |
| parent | 00111b10c193ccca6c37b356bf2d4ce67cb69975 (diff) | |
no more IO in the syntax to API translator
Diffstat (limited to 'src/compiler/GF')
| -rw-r--r-- | src/compiler/GF/Command/Commands.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/GF/Command/Commands.hs b/src/compiler/GF/Command/Commands.hs index c82ee79af..c9f4b4945 100644 --- a/src/compiler/GF/Command/Commands.hs +++ b/src/compiler/GF/Command/Commands.hs @@ -854,7 +854,7 @@ allCommands env@(pgf, mos) = Map.fromList [ then return $ fromString $ unlines $ map (tree2mk pgf) es else if isOpt "api" opts then do - ss <- mapM exprToAPIIO es + let ss = map exprToAPI es mapM_ putStrLn ss return void else do |
