diff --git a/src/ast_layout.c b/src/ast_layout.c index 95382cf1..8fce036e 100644 --- a/src/ast_layout.c +++ b/src/ast_layout.c @@ -656,7 +656,7 @@ ast_layout_attribute_type_t ast_layout_attribute_enduser_name_in_node_to_type(ch } } - if (ast_layout_node_type_is_single(parent_node_type)) { + if (! ast_layout_node_type_is_single(parent_node_type)) { char *enduser_content = ast_layout_attribute_type_to_enduser_name(AST_LAYOUT_ATTRIBUTE_TYPE_CONTENT); if (strcmp(name, enduser_content) == 0) { return AST_LAYOUT_ATTRIBUTE_TYPE_CONTENT; diff --git a/src/generated-config/ast_block_type.h b/src/generated-config/ast_block_type.h index ab6f9538..44f896d1 100644 --- a/src/generated-config/ast_block_type.h +++ b/src/generated-config/ast_block_type.h @@ -48,6 +48,8 @@ ADD_BLOCK_TYPE(AST_BLOCK_TYPE_ERROR, "ERROR", "error") + + diff --git a/src/generated-config/ast_layout_attribute_style_global.h b/src/generated-config/ast_layout_attribute_style_global.h index 137a94bc..d66d5f8f 100644 --- a/src/generated-config/ast_layout_attribute_style_global.h +++ b/src/generated-config/ast_layout_attribute_style_global.h @@ -46,6 +46,8 @@ ADD_LAYOUT_ATTRIBUTE_STYLE_GLOBAL_VALUE(unset, "حذف شده") + + diff --git a/src/generated-config/ast_layout_attribute_style_state_type.h b/src/generated-config/ast_layout_attribute_style_state_type.h index 6eb4d453..851767a1 100644 --- a/src/generated-config/ast_layout_attribute_style_state_type.h +++ b/src/generated-config/ast_layout_attribute_style_state_type.h @@ -106,6 +106,8 @@ ADD_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE(AST_LAYOUT_ATTRIBUTE_STYLE_STATE_TYPE_EMPT + + diff --git a/src/generated-config/ast_layout_attribute_style_type.h b/src/generated-config/ast_layout_attribute_style_type.h index 4c5b2f60..171cc9c5 100644 --- a/src/generated-config/ast_layout_attribute_style_type.h +++ b/src/generated-config/ast_layout_attribute_style_type.h @@ -606,5 +606,6 @@ ADD_LAYOUT_ATTRIBUTE_STYLE_TYPE_HIDE(AST_LAYOUT_ATTRIBUTE_STYLE_TYPE_ERROR, "ERR + diff --git a/src/generated-config/ast_layout_attribute_style_value.h b/src/generated-config/ast_layout_attribute_style_value.h index 0ddda9cc..8ac6afb6 100644 --- a/src/generated-config/ast_layout_attribute_style_value.h +++ b/src/generated-config/ast_layout_attribute_style_value.h @@ -1510,5 +1510,6 @@ const ast_layout_attribute_pair_t ast_layout_allowed_style_list_zoom[] = { + diff --git a/src/generated-config/ast_layout_attribute_style_value_extern.h b/src/generated-config/ast_layout_attribute_style_value_extern.h index c01a60b0..3109d1a2 100644 --- a/src/generated-config/ast_layout_attribute_style_value_extern.h +++ b/src/generated-config/ast_layout_attribute_style_value_extern.h @@ -397,5 +397,6 @@ extern const ast_layout_attribute_pair_t ast_layout_allowed_style_list_zoom[]; + diff --git a/src/generated-config/ast_layout_attribute_type.h b/src/generated-config/ast_layout_attribute_type.h index 6cb02491..92755a11 100644 --- a/src/generated-config/ast_layout_attribute_type.h +++ b/src/generated-config/ast_layout_attribute_type.h @@ -106,6 +106,8 @@ ADD_LAYOUT_ATTRIBUTE_TYPE(AST_LAYOUT_ATTRIBUTE_TYPE_RESPONSIVE_MIN_HEIGHT, "RESP + + diff --git a/src/generated-config/ast_layout_attribute_value.h b/src/generated-config/ast_layout_attribute_value.h index f69660b6..2c6d448e 100644 --- a/src/generated-config/ast_layout_attribute_value.h +++ b/src/generated-config/ast_layout_attribute_value.h @@ -77,5 +77,6 @@ const ast_layout_attribute_pair_t ast_layout_allowed_lang[] = { + diff --git a/src/generated-config/ast_layout_attribute_value_extern.h b/src/generated-config/ast_layout_attribute_value_extern.h index ba79c736..aaeed347 100644 --- a/src/generated-config/ast_layout_attribute_value_extern.h +++ b/src/generated-config/ast_layout_attribute_value_extern.h @@ -52,5 +52,6 @@ extern const ast_layout_attribute_pair_t ast_layout_allowed_lang[]; + diff --git a/src/generated-config/ast_layout_type.h b/src/generated-config/ast_layout_type.h index 814334af..18a37736 100644 --- a/src/generated-config/ast_layout_type.h +++ b/src/generated-config/ast_layout_type.h @@ -165,6 +165,8 @@ ADD_LAYOUT_TYPE_REPEAT(AST_LAYOUT_TYPE_MEDIA, "MEDIA", "media", "@media", "وا + + diff --git a/src/generated-config/ast_layout_type_attributes.h b/src/generated-config/ast_layout_type_attributes.h index 1ed470e4..14882478 100644 --- a/src/generated-config/ast_layout_type_attributes.h +++ b/src/generated-config/ast_layout_type_attributes.h @@ -190,6 +190,8 @@ else if (attribute->parent_node_type == AST_LAYOUT_TYPE_MEDIA) { + + diff --git a/src/generated-config/ast_layout_type_attributes_all.h b/src/generated-config/ast_layout_type_attributes_all.h index 11a5344f..f61f082e 100644 --- a/src/generated-config/ast_layout_type_attributes_all.h +++ b/src/generated-config/ast_layout_type_attributes_all.h @@ -138,6 +138,8 @@ const size_t map_size = sizeof(layout_map) / sizeof(layout_map[0]); + + diff --git a/src/generated-config/ast_layout_type_attributes_values.h b/src/generated-config/ast_layout_type_attributes_values.h index f3976037..84227e57 100644 --- a/src/generated-config/ast_layout_type_attributes_values.h +++ b/src/generated-config/ast_layout_type_attributes_values.h @@ -250,6 +250,8 @@ const size_t valid_attributes_media_length = 0; + + diff --git a/src/generated-config/ast_layout_type_attributes_values_extern.h b/src/generated-config/ast_layout_type_attributes_values_extern.h index 46413d95..4610b881 100644 --- a/src/generated-config/ast_layout_type_attributes_values_extern.h +++ b/src/generated-config/ast_layout_type_attributes_values_extern.h @@ -188,6 +188,8 @@ extern const size_t valid_attributes_media_length; + + diff --git a/src/generated-config/ast_type.h b/src/generated-config/ast_type.h index b50dca9a..4c1c5e3d 100644 --- a/src/generated-config/ast_type.h +++ b/src/generated-config/ast_type.h @@ -56,6 +56,8 @@ ADD_TYPE(AST_TYPE_ERROR, "ERROR", "error") + +