From f848857519bfb093310503108ff62297ea9f8a24 Mon Sep 17 00:00:00 2001 From: krasimir Date: Fri, 20 Feb 2015 13:26:12 +0000 Subject: added option -plus-as-bind which treats (+) as a bind when used with runtime variables --- src/compiler/GF/Compile/GrammarToPGF.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/compiler/GF/Compile/GrammarToPGF.hs') diff --git a/src/compiler/GF/Compile/GrammarToPGF.hs b/src/compiler/GF/Compile/GrammarToPGF.hs index 989b651bb..39202de4c 100644 --- a/src/compiler/GF/Compile/GrammarToPGF.hs +++ b/src/compiler/GF/Compile/GrammarToPGF.hs @@ -36,7 +36,7 @@ mkCanon2pgf opts gr am = do cncs <- mapM mkConcr (allConcretes gr am) return $ updateProductionIndices (D.PGF Map.empty an abs (Map.fromList cncs)) where - cenv = resourceValues gr + cenv = resourceValues opts gr mkAbstr am = return (mi2i am, D.Abstr flags funs cats) where -- cgit v1.2.3