Simplify source evaluation options. (#2431)
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
This commit is contained in:
committed by
László Langó
parent
76ff084dc7
commit
77d9314b1d
@@ -50,7 +50,7 @@ static int shell_cmd_handler (char *source_buffer)
|
||||
|
||||
ret_val = jerry_eval ((jerry_char_t *) source_buffer,
|
||||
strlen (source_buffer),
|
||||
false);
|
||||
JERRY_PARSE_NO_OPTS);
|
||||
|
||||
if (jerry_value_is_error (ret_val))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user