# HG changeset patch # User Edouard Tisserant # Date 1584450714 -3600 # Node ID ac08a5d15c157ae83e93c23f116815ee2d1c48e7 # Parent 3bb49f93d48c6ef03d69b66efac610a75ce54a69 SVGHMI: moving comments diff -r 3bb49f93d48c -r ac08a5d15c15 svghmi/gen_index_xhtml.ysl2 --- a/svghmi/gen_index_xhtml.ysl2 Tue Mar 17 14:01:37 2020 +0100 +++ b/svghmi/gen_index_xhtml.ysl2 Tue Mar 17 14:11:54 2020 +0100 @@ -81,20 +81,6 @@ } } - /* - Parses: - "HMI:WidgetType:param1:param2@path1@path2" - - Into: - widget type="WidgetType" { - arg value="param1"; - arg value="param2"; - path value="path1"; - path value="path2"; - } - */ - - function "scripts" { | //(function(){ diff -r 3bb49f93d48c -r ac08a5d15c15 svghmi/hmi_tree.ysl2 --- a/svghmi/hmi_tree.ysl2 Tue Mar 17 14:01:37 2020 +0100 +++ b/svghmi/hmi_tree.ysl2 Tue Mar 17 14:11:54 2020 +0100 @@ -52,6 +52,17 @@ } } +// Parses: +// "HMI:WidgetType:param1:param2@path1@path2" +// +// Into: +// widget type="WidgetType" { +// arg value="param1"; +// arg value="param2"; +// path value="path1"; +// path value="path2"; +// } +// def "func:parselabel" { param "label"; const "description", "substring-after($label,'HMI:')";