svghmi/widgets_common.ysl2
branchsvghmi
changeset 3007 360300a8b995
parent 3006 bbffdefd2eed
child 3017 15e2df3e5610
child 3019 497aac6522a3
--- a/svghmi/widgets_common.ysl2	Wed Aug 05 18:53:56 2020 +0200
+++ b/svghmi/widgets_common.ysl2	Thu Aug 06 14:59:04 2020 +0200
@@ -156,7 +156,7 @@
     ||
 }
 
-emit "preamble:hmi-classes" {
+emit "declarations:hmi-classes" {
     const "used_widget_types", "func:unique_types($parsed_widgets/widget)";
     apply "$used_widget_types", mode="widget_class";
 }
@@ -171,7 +171,7 @@
 const "excluded_types", "str:split('Page Lang')";
 const "excluded_ids","$parsed_widgets/widget[not(@type = $excluded_types)]/@id";
 
-emit "preamble:hmi-elements" {
+emit "declarations:hmi-elements" {
     | var hmi_widgets = {
     apply  "$hmi_elements[@id = $excluded_ids]", mode="hmi_widgets";
     | }