summaryrefslogtreecommitdiff
path: root/src/www/gfse/example_based.js
diff options
context:
space:
mode:
authorhallgren <hallgren@chalmers.se>2011-11-02 16:54:22 +0000
committerhallgren <hallgren@chalmers.se>2011-11-02 16:54:22 +0000
commit312e602dfe69fc6d391d58d715fccad6c1ed1023 (patch)
tree9fab05948c36ce7a1804405eb8c273da2a6b897c /src/www/gfse/example_based.js
parent5856098f2f71dc443cf6412443d6b3efbcb8efb8 (diff)
gfse: supply information about what's defined in the exampe language to the server functions for example-based grammar writing
Diffstat (limited to 'src/www/gfse/example_based.js')
-rw-r--r--src/www/gfse/example_based.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/www/gfse/example_based.js b/src/www/gfse/example_based.js
index 1bbf17bd4..966dcbecd 100644
--- a/src/www/gfse/example_based.js
+++ b/src/www/gfse/example_based.js
@@ -51,8 +51,8 @@ function ask_possibilities(g,ci) {
if(!conc.example_lang) conc.example_lang=g.concretes[0].langcode;
reload_grammar(g);
}
-
- exb_call(g,ci,"possibilities",{},show_poss)
+ var exci=conc_index(g,conc.example_lang);
+ exb_call(g,ci,"possibilities",{example_state:exb_state(g,exci)},show_poss)
}
var parser = { Eng: "ParseEngAbs.pgf",