1
0
forked from GitHub/gf-core

gfse: bug fix

Fix a problem opening grammars created before grammar extension was introduced.
This commit is contained in:
hallgren
2012-03-01 18:11:58 +00:00
parent ec04f9118c
commit 2394a09cc0

View File

@@ -460,7 +460,8 @@ function draw_abstract(g) {
var kw_fun = kw("fun");
kw_fun.title = "The functions (productions) of the grammar are enumerated here. [C.3.4]";
var flags=g.abstract.startcat||g.abstract.cats.length>1||g.extends.length>0
var flags=g.abstract.startcat || g.abstract.cats.length>1
|| g.extends && g.extends.length>0
? draw_startcat(g)
: text("");
function sort_funs() {