From a7e8a566cf722f0a1e9685303cc1444e9d121105 Mon Sep 17 00:00:00 2001 From: hallgren Date: Thu, 21 May 2015 14:44:20 +0000 Subject: Omit -optimize-pgf when compiling small example grammars The minibar lets the user choose any category as the start category, but this can lead to run-time errors for grammars compiled with -optimize-pgf. The problem can also be observed in the GF shell. For example, "linearize Fish" (which means that the start category is Kind) fails for some languages when Foods.pgf is compiled with -optimize-pgf. --- WebSetup.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'WebSetup.hs') diff --git a/WebSetup.hs b/WebSetup.hs index 629d34327..0f2d24b7d 100644 --- a/WebSetup.hs +++ b/WebSetup.hs @@ -48,7 +48,7 @@ buildWeb gf (flags,pkg,lbi) = where tmp_dir = gfo_dirsubdir dir = "examples"subdir - args = numJobs flags++["-make","-s","-optimize-pgf"] + args = numJobs flags++["-make","-s"] -- ,"-optimize-pgf" ++["--gfo-dir="++tmp_dir, "--gf-lib-path="++buildDir lbi "rgl", "--name="++dropExtension pgf, -- cgit v1.2.3