diff --git a/idl/idl_api.ysl2 b/idl/idl_api.ysl2 index cf374c8..a909e7d 100644 --- a/idl/idl_api.ysl2 +++ b/idl/idl_api.ysl2 @@ -2,18 +2,18 @@ // stdlib candidates // ---------------------------------------------------------------------- def "func:autocomma" { - result if "position()!=last()" > , + result if "position()!=last()" > , } def "func:exists" { - param "xpath"; + param "xpath"; - choose { - when "$xpath" - result "true()"; - otherwise - result "false()"; - } + choose { + when "$xpath" + result "true()"; + otherwise + result "false()"; + } } // ----------------------------------------------------------------------