diff --git a/examples/codegen/econf/spec.ini b/examples/codegen/econf/spec.ini index aa36db235c2..d02ab8b81d5 100644 --- a/examples/codegen/econf/spec.ini +++ b/examples/codegen/econf/spec.ini @@ -7,6 +7,7 @@ default = 0 [format/#] type = struct +check/type = any default = "" gen/struct/type = FormatConf gen/struct/depth = 2 diff --git a/examples/codegen/tree/spec.ini b/examples/codegen/tree/spec.ini index 10ca9c3ea23..f5ae6b31d14 100644 --- a/examples/codegen/tree/spec.ini +++ b/examples/codegen/tree/spec.ini @@ -3,18 +3,21 @@ mountpoint = codegen_tree_example.conf [root] type = struct_ref +check/type = any default = "" check/reference = recursive check/reference/restrict = ../tree/_ [tree/_] type = struct +check/type = any default = "" gen/struct/type = Tree gen/struct/alloc = 1 [tree/_/children/#] type = struct_ref +check/type = any default = "" gen/struct/array/sizefield = childCount