Fix lexing number literal
Related issue: #745 JerryScript-DCO-1.0-Signed-off-by: Hanjoung Lee hanjoung.lee@samsung.com
This commit is contained in:
@@ -936,7 +936,7 @@ lexer_parse_number (void)
|
||||
|
||||
if (c == LIT_CHAR_DOT)
|
||||
{
|
||||
if (is_fp)
|
||||
if (is_fp || is_exp)
|
||||
{
|
||||
/* token is constructed at end of function */
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user