summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorhallgren <hallgren@chalmers.se>2015-05-21 14:44:20 +0000
committerhallgren <hallgren@chalmers.se>2015-05-21 14:44:20 +0000
commita7e8a566cf722f0a1e9685303cc1444e9d121105 (patch)
treec2774e6bcffde08b8b93eef05e1d59e892b45d67 /examples
parent803963352821febcb81382602866fcc32fca4d00 (diff)
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.
Diffstat (limited to 'examples')
-rw-r--r--examples/foods/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/foods/Makefile b/examples/foods/Makefile
index 5738bc281..5f42041ae 100644
--- a/examples/foods/Makefile
+++ b/examples/foods/Makefile
@@ -2,7 +2,7 @@
all:: Foods.pgf
Foods.pgf: Foods???.gf
- gf -make -s -optimize-pgf Foods???.gf
+ gf -make -s Foods???.gf
clean:
rm -rf *.gfo Foods.pgf