1
0
forked from GitHub/gf-core

gfse: supply information about what's defined in the exampe language to the server functions for example-based grammar writing

This commit is contained in:
hallgren
2011-11-02 16:54:22 +00:00
parent 5856098f2f
commit 312e602dfe
5 changed files with 23 additions and 8 deletions

View File

@@ -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",