From 312e602dfe69fc6d391d58d715fccad6c1ed1023 Mon Sep 17 00:00:00 2001 From: hallgren Date: Wed, 2 Nov 2011 16:54:22 +0000 Subject: gfse: supply information about what's defined in the exampe language to the server functions for example-based grammar writing --- src/www/gfse/example_based.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/www/gfse/example_based.js') 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", -- cgit v1.2.3