summaryrefslogtreecommitdiff
path: root/doc/runtime-api.html
diff options
context:
space:
mode:
authorInari Listenmaa <inari.listenmaa@gmail.com>2018-04-18 20:54:27 +0200
committerInari Listenmaa <inari.listenmaa@gmail.com>2018-04-18 20:54:27 +0200
commit295896190d7ca6c6bba604a992f8470e725652c4 (patch)
tree6da914d6f6fee43a1e7f45a6780d1b7d34dcd4fa /doc/runtime-api.html
parent6f707461e10866f2873791a0ca54751d03c5117a (diff)
Make documentation about -split-pgf clearer
Diffstat (limited to 'doc/runtime-api.html')
-rw-r--r--doc/runtime-api.html9
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/runtime-api.html b/doc/runtime-api.html
index 792dbed39..4ed05c3d3 100644
--- a/doc/runtime-api.html
+++ b/doc/runtime-api.html
@@ -1034,9 +1034,16 @@ This is done by using the option <tt>-split-pgf</tt> in the compiler:
<pre class="java">
$ gf -make -split-pgf App12.pgf
</pre>
+This creates the following files:
+<pre class="java">
+Writing App.pgf...
+Writing AppEng.pgf_c...
+Writing AppSwe.pgf_c...
+...
+</pre>
</p>
-Now you can load the grammar as usual but this time only the
+Now you can load the grammar <tt>App.pgf</tt> as usual but this time only the
abstract syntax will be loaded. You can still use the <tt>languages</tt>
property to get the list of languages and the corresponding
concrete syntax objects: