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:
Hanjoung Lee
2015-11-25 19:22:42 +09:00
parent ab68d093e8
commit ce3b785c83
2 changed files with 23 additions and 1 deletions
+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;