plcopen/pou_block_instances.ysl2
changeset 4063 6668dcbca915
parent 3868 e9807c28a788
--- a/plcopen/pou_block_instances.ysl2	Fri Dec 06 12:16:07 2024 +0100
+++ b/plcopen/pou_block_instances.ysl2	Sun Dec 08 11:41:31 2024 +0100
@@ -102,6 +102,10 @@
         }
     }
     
+    template "*[self::ppx:type or self::ppx:baseType or self::ppx:returnType]/*" {
+        > «local-name()»
+    }
+    
     template "*[self::ppx:type or self::ppx:baseType or self::ppx:returnType]/ppx:derived" {
         > «@name»
     }
@@ -114,10 +118,6 @@
         > WSTRING
     }
     
-    template "*[self::ppx:type or self::ppx:baseType or self::ppx:returnType]/*" {
-        > «local-name()»
-    }
-    
     function "VariableBlockInfos" {
         param "type";
         variable "expression" > «ppx:expression/text()»