Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 77292e9

Browse files
author
Aygul Salahli
committed
Fix function declaration
1 parent 5cd6581 commit 77292e9

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

‎include/mycss/property/parser.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ bool mycss_property_parser_border_right(mycss_entry_t* entry, mycss_token_t* tok
131131
bool mycss_property_parser_border_right_color(mycss_entry_t* entry, mycss_token_t* token, bool last_response);
132132
bool mycss_property_parser_border_right_style(mycss_entry_t* entry, mycss_token_t* token, bool last_response);
133133
bool mycss_property_parser_border_right_width(mycss_entry_t* entry, mycss_token_t* token, bool last_response);
134+
bool mycss_property_parser_short_two_type(mycss_entry_t* entry, mycss_token_t* token);
134135
bool mycss_property_parser_border_spacing(mycss_entry_t* entry, mycss_token_t* token, bool last_response);
135136
bool mycss_property_parser_border_style(mycss_entry_t* entry, mycss_token_t* token, bool last_response);
136137
bool mycss_property_parser_border_top(mycss_entry_t* entry, mycss_token_t* token, bool last_response);
@@ -370,7 +371,6 @@ bool mycss_property_parser_wrap_flow(mycss_entry_t* entry, mycss_token_t* token,
370371
bool mycss_property_parser_wrap_through(mycss_entry_t* entry, mycss_token_t* token, bool last_response);
371372
bool mycss_property_parser_writing_mode(mycss_entry_t* entry, mycss_token_t* token, bool last_response);
372373
bool mycss_property_parser_z_index(mycss_entry_t* entry, mycss_token_t* token, bool last_response);
373-
bool mycss_property_parser_short_two_type(mycss_entry_t* entry, mycss_token_t* token);
374374

375375
#ifdef __cplusplus
376376
} /* extern "C" */

‎source/mycss/property/parser.c‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1033,11 +1033,6 @@ bool mycss_property_parser_border_radius(mycss_entry_t* entry, mycss_token_t* to
10331033
return mycss_property_parser_destroy_string(&str, mycss_property_shared_switch_to_parse_error(entry));
10341034
}
10351035

1036-
bool mycss_property_parser_border_top_right_radius(mycss_entry_t* entry, mycss_token_t* token, bool last_response)
1037-
{
1038-
return mycss_property_parser_short_two_type(entry, token);
1039-
}
1040-
10411036
bool mycss_property_parser_short_two_type(mycss_entry_t* entry, mycss_token_t* token)
10421037
{
10431038
if(token->type == MyCSS_TOKEN_TYPE_WHITESPACE)
@@ -1080,6 +1075,11 @@ bool mycss_property_parser_short_two_type(mycss_entry_t* entry, mycss_token_t* t
10801075
return mycss_property_parser_destroy_string(&str, mycss_property_shared_switch_to_parse_error(entry));
10811076
}
10821077

1078+
bool mycss_property_parser_border_top_right_radius(mycss_entry_t* entry, mycss_token_t* token, bool last_response)
1079+
{
1080+
return mycss_property_parser_short_two_type(entry, token);
1081+
}
1082+
10831083
bool mycss_property_parser_border_top_left_radius(mycss_entry_t* entry, mycss_token_t* token, bool last_response)
10841084
{
10851085
return mycss_property_parser_border_top_right_radius(entry, token, last_response);

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /