--- a/plcopen/instances_path.ysl2 Sun Feb 18 21:51:33 2018 +0100
+++ b/plcopen/instances_path.ysl2 Sun Feb 18 22:29:35 2018 +0100
@@ -45,7 +45,7 @@
}
otherwise {
variable "type_name" > «@typeName»
- apply """$all/ppx:types/ppx:pous/ppx:pou[@name=$type_name] |
+ apply """$all/ppx:types/ppx:pous/ppx:pou[@name=$type_name] | \
$all/ppx:types/ppx:dataTypes/ppx:dataType[@name=$type_name]""" {
with "instance_path" > «$pou_instance_path»
}
@@ -83,7 +83,7 @@
}
otherwise {
variable "type_name" > «@name»
- apply """$all/ppx:types/ppx:pous/ppx:pou[@name=$type_name] |
+ apply """$all/ppx:types/ppx:pous/ppx:pou[@name=$type_name] | \
$all/ppx:types/ppx:dataTypes/ppx:dataType[@name=$type_name]""" {
with "instance_path" > «$variable_path»
}