Fix goto labels indentation (#4818)
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik robert.fancsik@h-lab.eu
This commit is contained in:
+1
-1
@@ -53,7 +53,7 @@ IncludeCategories:
|
|||||||
- Regex: '.*'
|
- Regex: '.*'
|
||||||
Priority: 4
|
Priority: 4
|
||||||
IndentCaseLabels: true
|
IndentCaseLabels: true
|
||||||
IndentGotoLabels: true
|
IndentGotoLabels: false
|
||||||
IndentPPDirectives: None
|
IndentPPDirectives: None
|
||||||
IndentWidth: 2
|
IndentWidth: 2
|
||||||
IndentWrappedFunctionNames: false
|
IndentWrappedFunctionNames: false
|
||||||
|
|||||||
@@ -521,7 +521,7 @@ ecma_module_resolve_export (ecma_module_t *const module_p, /**< base module */
|
|||||||
star_export_p = star_export_p->next_p;
|
star_export_p = star_export_p->next_p;
|
||||||
}
|
}
|
||||||
|
|
||||||
next_iteration:
|
next_iteration:
|
||||||
current_set_p = current_set_p->next_p;
|
current_set_p = current_set_p->next_p;
|
||||||
} while (current_set_p != NULL);
|
} while (current_set_p != NULL);
|
||||||
|
|
||||||
|
|||||||
@@ -668,7 +668,7 @@ ecma_builtin_array_prototype_object_reverse (ecma_value_t this_arg, /**< this ar
|
|||||||
|
|
||||||
ret_value = ECMA_VALUE_EMPTY;
|
ret_value = ECMA_VALUE_EMPTY;
|
||||||
|
|
||||||
clean_up:
|
clean_up:
|
||||||
ecma_free_value (upper_value);
|
ecma_free_value (upper_value);
|
||||||
ecma_free_value (lower_value);
|
ecma_free_value (lower_value);
|
||||||
ecma_deref_ecma_string (lower_str_p);
|
ecma_deref_ecma_string (lower_str_p);
|
||||||
|
|||||||
@@ -254,7 +254,7 @@ ecma_builtin_array_object_from (ecma_value_t this_arg, /**< 'this' argument */
|
|||||||
k++;
|
k++;
|
||||||
}
|
}
|
||||||
|
|
||||||
iterator_cleanup:
|
iterator_cleanup:
|
||||||
ecma_free_value (iterator);
|
ecma_free_value (iterator);
|
||||||
ecma_free_value (next_method);
|
ecma_free_value (next_method);
|
||||||
ecma_deref_object (array_obj_p);
|
ecma_deref_object (array_obj_p);
|
||||||
|
|||||||
@@ -1483,7 +1483,7 @@ ecma_regexp_run (ecma_regexp_ctx_t *re_ctx_p, /**< RegExp matcher context */
|
|||||||
|
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
||||||
class_found:
|
class_found:
|
||||||
if (flags & RE_CLASS_INVERT)
|
if (flags & RE_CLASS_INVERT)
|
||||||
{
|
{
|
||||||
goto fail;
|
goto fail;
|
||||||
@@ -1565,7 +1565,7 @@ ecma_regexp_run (ecma_regexp_ctx_t *re_ctx_p, /**< RegExp matcher context */
|
|||||||
}
|
}
|
||||||
|
|
||||||
JERRY_UNREACHABLE ();
|
JERRY_UNREACHABLE ();
|
||||||
fail:
|
fail:
|
||||||
bc_p = next_alternative_p;
|
bc_p = next_alternative_p;
|
||||||
|
|
||||||
if (bc_p == NULL || *bc_p++ != RE_OP_ALTERNATIVE_NEXT)
|
if (bc_p == NULL || *bc_p++ != RE_OP_ALTERNATIVE_NEXT)
|
||||||
|
|||||||
@@ -3957,7 +3957,7 @@ parser_parse_expression (parser_context_t *context_p, /**< context */
|
|||||||
|
|
||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
process_unary_expression:
|
process_unary_expression:
|
||||||
parser_process_unary_expression (context_p, grouping_level);
|
parser_process_unary_expression (context_p, grouping_level);
|
||||||
|
|
||||||
if (JERRY_LIKELY (grouping_level != PARSE_EXPR_LEFT_HAND_SIDE))
|
if (JERRY_LIKELY (grouping_level != PARSE_EXPR_LEFT_HAND_SIDE))
|
||||||
|
|||||||
@@ -3311,7 +3311,7 @@ parser_parse_statements (parser_context_t *context_p) /**< context */
|
|||||||
parser_raise_error (context_p, PARSER_ERR_SEMICOLON_EXPECTED);
|
parser_raise_error (context_p, PARSER_ERR_SEMICOLON_EXPECTED);
|
||||||
}
|
}
|
||||||
|
|
||||||
consume_last_statement:
|
consume_last_statement:
|
||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
switch (context_p->stack_top_uint8)
|
switch (context_p->stack_top_uint8)
|
||||||
|
|||||||
@@ -3388,7 +3388,7 @@ scanner_scan_all (parser_context_t *context_p) /**< context */
|
|||||||
lexer_next_token (context_p);
|
lexer_next_token (context_p);
|
||||||
}
|
}
|
||||||
|
|
||||||
scan_completed:
|
scan_completed:
|
||||||
if (context_p->stack_top_uint8 != SCAN_STACK_SCRIPT && context_p->stack_top_uint8 != SCAN_STACK_SCRIPT_FUNCTION)
|
if (context_p->stack_top_uint8 != SCAN_STACK_SCRIPT && context_p->stack_top_uint8 != SCAN_STACK_SCRIPT_FUNCTION)
|
||||||
{
|
{
|
||||||
scanner_raise_error (context_p);
|
scanner_raise_error (context_p);
|
||||||
|
|||||||
+4
-4
@@ -4674,13 +4674,13 @@ vm_loop (vm_frame_ctx_t *frame_ctx_p) /**< frame context */
|
|||||||
VM_GET_REGISTERS (frame_ctx_p)[0] = result;
|
VM_GET_REGISTERS (frame_ctx_p)[0] = result;
|
||||||
}
|
}
|
||||||
|
|
||||||
free_both_values:
|
free_both_values:
|
||||||
ecma_fast_free_value (right_value);
|
ecma_fast_free_value (right_value);
|
||||||
free_left_value:
|
free_left_value:
|
||||||
ecma_fast_free_value (left_value);
|
ecma_fast_free_value (left_value);
|
||||||
}
|
}
|
||||||
|
|
||||||
error:
|
error:
|
||||||
ecma_fast_free_value (left_value);
|
ecma_fast_free_value (left_value);
|
||||||
ecma_fast_free_value (right_value);
|
ecma_fast_free_value (right_value);
|
||||||
|
|
||||||
@@ -4851,7 +4851,7 @@ vm_loop (vm_frame_ctx_t *frame_ctx_p) /**< frame context */
|
|||||||
} while (frame_ctx_p->context_depth > 0);
|
} while (frame_ctx_p->context_depth > 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
finish:
|
finish:
|
||||||
frame_ctx_p->call_operation = VM_NO_EXEC_OP;
|
frame_ctx_p->call_operation = VM_NO_EXEC_OP;
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user