We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 41f45e5 commit 981d6b9Copy full SHA for 981d6b9
doc/tutorial/gf-tutorial.t2t
@@ -1739,6 +1739,13 @@ A new module can **extend** an old one:
1739
Pizza : Kind ;
1740
}
1741
```
1742
+Note that the extended grammar doesn't inherit the start
1743
+category from the grammar it extends, so if you want to
1744
+generate sentences with this grammar, you'll have to either
1745
+add a startcat (e.g. ``flags startcat = Question ;``),
1746
+or in the GF shell, specify the category to ``generate_random`` or ``geneate_trees``
1747
+(e.g. ``gr -cat=Comment`` or ``gt -cat=Question``).
1748
+
1749
Parallel to the abstract syntax, extensions can
1750
be built for concrete syntaxes:
1751
0 commit comments