Fix lexing number literal

Related issue: #745

JerryScript-DCO-1.0-Signed-off-by: Hanjoung Lee [email protected]
This commit is contained in:
Hanjoung Lee committed 2015-12-02 11:36:30 +09:00
1 parent ab68d093e8
commit ce3b785c83
2 files changed
+23 -1

No files matched your search

+1 -1
View File
@@ -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;