Jump parsing bug in clang style errors

This commit is contained in:
Allen Webster 2018-09-27 17:57:05 -07:00
parent 59feb973db
commit d54cd9bc78
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ ms_style_verify(String line, int32_t left_paren_pos, int32_t right_paren_pos){
int32_t comma_pos = find_s_char(number, 0, ','); int32_t comma_pos = find_s_char(number, 0, ',');
if (comma_pos < number.size){ if (comma_pos < number.size){
String sub_number0 = substr(number, 0, comma_pos); String sub_number0 = substr(number, 0, comma_pos);
String sub_number1 = substr(number, comma_pos, number.size - comma_pos - 1); String sub_number1 = substr(number, comma_pos + 1, number.size - comma_pos - 1);
if (str_is_int_s(sub_number0) && str_is_int_s(sub_number1)){ if (str_is_int_s(sub_number0) && str_is_int_s(sub_number1)){
result = true; result = true;
} }