Support ES6 based octal literals (#3338)
JerryScript-DCO-1.0-Signed-off-by: Roland Takacs r.takacs2@partner.samsung.com
This commit is contained in:
committed by
Robert Fancsik
parent
2ddf134cef
commit
996bf76f59
@@ -828,6 +828,10 @@ parser_error_to_string (parser_error_t error) /**< error code */
|
||||
{
|
||||
return "Invalid (unexpected) character.";
|
||||
}
|
||||
case PARSER_ERR_INVALID_OCTAL_DIGIT:
|
||||
{
|
||||
return "Invalid octal digit.";
|
||||
}
|
||||
case PARSER_ERR_INVALID_HEX_DIGIT:
|
||||
{
|
||||
return "Invalid hexadecimal digit.";
|
||||
|
||||
Reference in New Issue
Block a user