mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -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) {
|
||||
return dc[cat]
|
||||
? (dc[cat]==g.basename ? cat_lincat(conc,cat) : ihcat_lincat(cat))
|
||||
|| "??"
|
||||
: cat+"??"
|
||||
}
|
||||
return type.map(lincat)
|
||||
|
||||
Reference in New Issue
Block a user