Small refactorings
Modifications: * eliminate unnecessary variables, functions * use ECMA_NUMBER macros where it is possible * simplify code * minor style fix (comments, increase-decrease operators) JerryScript-DCO-1.0-Signed-off-by: Zsolt Borbély zsborbely.u-szeged@partner.samsung.com
This commit is contained in:
@@ -792,7 +792,7 @@ lexer_parse_number (parser_context_t *context_p) /**< context */
|
||||
|
||||
do
|
||||
{
|
||||
source_p ++;
|
||||
source_p++;
|
||||
}
|
||||
while (source_p < source_end_p
|
||||
&& lexer_is_hex_digit (source_p[0]));
|
||||
@@ -809,7 +809,7 @@ lexer_parse_number (parser_context_t *context_p) /**< context */
|
||||
|
||||
do
|
||||
{
|
||||
source_p ++;
|
||||
source_p++;
|
||||
}
|
||||
while (source_p < source_end_p
|
||||
&& source_p[0] >= '0'
|
||||
|
||||
Reference in New Issue
Block a user