Skip to content

Commit

Permalink
add persian word in comments in validator.c
Browse files Browse the repository at this point in the history
  • Loading branch information
BaseMax committed Nov 18, 2024
1 parent 49d7c0d commit 4f564ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/validator.c
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ bool token_belongs_to_ast_layout_node(

if (is_attribute_type_in_array(attribute_key_type, valid_attributes,
valid_attributes_length)) {
// rename type to target
// rename type/نوع to target
if (attribute_key_type == AST_LAYOUT_ATTRIBUTE_TYPE_TYPE) {
if (attribute->final_key != NULL) {
memory_destroy(attribute->final_key);
Expand All @@ -643,7 +643,7 @@ bool token_belongs_to_ast_layout_node(
attribute->final_key = string_strdup("target");

return true;
// rename src to href
// rename src/منبع to href
} else if (attribute_key_type == AST_LAYOUT_ATTRIBUTE_TYPE_SRC) {
if (attribute->final_key != NULL) {
memory_destroy(attribute->final_key);
Expand Down

0 comments on commit 4f564ec

Please sign in to comment.