Add core unicode functionality.
Add utf-8 processing routines. Change ecma_char_t from char/uint16_t to uint16_t. Apply all utf-8 processing routines. Change char to jerry_api_char in API functions' declarations. JerryScript-DCO-1.0-Signed-off-by: Andrey Shitov a.shitov@samsung.com
This commit is contained in:
@@ -71,8 +71,8 @@ typedef struct
|
||||
|
||||
typedef struct
|
||||
{
|
||||
ecma_char_t *pattern_start_p;
|
||||
ecma_char_t *current_char_p;
|
||||
lit_utf8_byte_t *pattern_start_p;
|
||||
lit_utf8_byte_t *current_char_p;
|
||||
int num_of_groups;
|
||||
uint32_t num_of_classes;
|
||||
} re_parser_ctx_t;
|
||||
|
||||
Reference in New Issue
Block a user