From c6b463cde04b60ef0157040ad67ab1ec0f27b584 Mon Sep 17 00:00:00 2001 From: heck Date: Fri, 16 Jun 2023 13:27:51 +0200 Subject: [PATCH] ig-c99: support deftype of any type --- lm-c99/ig-c99.ysl2 | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/lm-c99/ig-c99.ysl2 b/lm-c99/ig-c99.ysl2 index 14ef36b..f89b1ae 100644 --- a/lm-c99/ig-c99.ysl2 +++ b/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)» } }