From 295896190d7ca6c6bba604a992f8470e725652c4 Mon Sep 17 00:00:00 2001 From: Inari Listenmaa Date: Wed, 18 Apr 2018 20:54:27 +0200 Subject: [PATCH] Make documentation about -split-pgf clearer --- doc/runtime-api.html | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 -split-pgf in the compiler:
 $ gf -make -split-pgf App12.pgf
 
+This creates the following files: +
+Writing App.pgf...
+Writing AppEng.pgf_c...
+Writing AppSwe.pgf_c...
+...
+

-Now you can load the grammar as usual but this time only the +Now you can load the grammar App.pgf as usual but this time only the abstract syntax will be loaded. You can still use the languages property to get the list of languages and the corresponding concrete syntax objects: