Browse Source

ig-c99: support deftype of any type

main
heck 2 years ago
parent
commit
c6b463cde0
  1. 7
      lm-c99/ig-c99.ysl2

7
lm-c99/ig-c99.ysl2

@ -155,12 +155,7 @@ tstylesheet {
error > deftype - typekind must be generic «$type_or_typeind»
}
otherwise
choose {
when 'func:idl_type_is_of_typekind_basetype($type_or_typekind)'
> «func:typedef($type_or_typekind, $alias_name)»
otherwise
error > not a generic or basetype: «$type_or_typekind»
}
> «func:typedef($type_or_typekind, $alias_name)»
}
}

Loading…
Cancel
Save