# HG changeset patch # User Laurent Bessard # Date 1381474712 -7200 # Node ID cce13b237b0721e3c0227473605d832d1cf28244 # Parent fe7770a305271fd4b683f6b2697f143ef31eb69a Fixed bug when loading complex type variable initial value diff -r fe7770a30527 -r cce13b237b07 plcopen/variables_infos.xslt --- a/plcopen/variables_infos.xslt Fri Oct 11 08:54:50 2013 +0200 +++ b/plcopen/variables_infos.xslt Fri Oct 11 08:58:32 2013 +0200 @@ -257,7 +257,7 @@ - + @@ -268,7 +268,7 @@ - + diff -r fe7770a30527 -r cce13b237b07 plcopen/variables_infos.ysl2 --- a/plcopen/variables_infos.ysl2 Fri Oct 11 08:54:50 2013 +0200 +++ b/plcopen/variables_infos.ysl2 Fri Oct 11 08:58:32 2013 +0200 @@ -203,14 +203,14 @@ function "complex_type_value" { param "start_bracket"; param "end_bracket"; - > «@start_bracket» + > «$start_bracket» foreach "ppx:value" { apply "."; choose { when "position()!=last()" > , } } - > «@end_bracket» + > «$end_bracket» } template "ppx:arrayValue" {