Fix lexing number literal
Related issue: #745 JerryScript-DCO-1.0-Signed-off-by: Hanjoung Lee [email protected]
This commit is contained in:
1 parent
ab68d093e8
commit
ce3b785c83
2 files changed
+23
-1
No files matched your search
@@ -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