Reverting changes in jerry_Exit and adding comment about jerry_AssertFail call.
This commit is contained in:
@@ -69,9 +69,10 @@ jerry_Exit( jerry_Status_t code) /**< status code */
|
|||||||
case ERR_GENERAL:
|
case ERR_GENERAL:
|
||||||
__printf("ERR_GENERAL\n");
|
__printf("ERR_GENERAL\n");
|
||||||
break;
|
break;
|
||||||
default:
|
|
||||||
__printf( "Return code is zero");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* The failed assertion is 'Return code is zero' */
|
||||||
|
jerry_AssertFail( "Return code is zero", __FILE__, __LINE__);
|
||||||
}
|
}
|
||||||
#endif /* !JERRY_NDEBUG */
|
#endif /* !JERRY_NDEBUG */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user