Move helpers from ecma-helpers-char.cpp to lit-char-helpers.cpp, rename them correspondingly.

JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
This commit is contained in:
Ruben Ayrapetyan
2015-06-30 21:17:01 +03:00
parent 017aa6b684
commit c37964f7a9
6 changed files with 66 additions and 55 deletions
+3 -3
View File
@@ -16,9 +16,9 @@
#include "ecma-exceptions.h"
#include "ecma-globals.h"
#include "ecma-helpers.h"
#include "ecma-try-catch-macro.h"
#include "jrt-libc-includes.h"
#include "lit-char-helpers.h"
#include "re-parser.h"
#include "syntax-errors.h"
@@ -126,7 +126,7 @@ parse_re_iterator (lit_utf8_byte_t *pattern_p, /**< RegExp pattern */
return ret_value;
}
digits++;
qmin = qmin * 10 + ecma_char_hex_to_int (ch1);
qmin = qmin * 10 + lit_char_hex_to_int (ch1);
}
else if (ch1 == ',')
{
@@ -677,7 +677,7 @@ re_parse_next_token (re_parser_ctx_t *parser_ctx_p, /**< RegExp parser context *
{
break;
}
number = number * 10 + ecma_char_hex_to_int (digit);
number = number * 10 + lit_char_hex_to_int (digit);
index++;
}
while (true);