mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 11:42:49 -06:00
gfse: display "??" instead of "null" in linearization types when lincats are missing
This commit is contained in:
@@ -1359,6 +1359,7 @@ function lintype(g,conc,igs,dc,type) {
|
|||||||
function lincat(cat) {
|
function lincat(cat) {
|
||||||
return dc[cat]
|
return dc[cat]
|
||||||
? (dc[cat]==g.basename ? cat_lincat(conc,cat) : ihcat_lincat(cat))
|
? (dc[cat]==g.basename ? cat_lincat(conc,cat) : ihcat_lincat(cat))
|
||||||
|
|| "??"
|
||||||
: cat+"??"
|
: cat+"??"
|
||||||
}
|
}
|
||||||
return type.map(lincat)
|
return type.map(lincat)
|
||||||
|
|||||||
Reference in New Issue
Block a user