Add ERR_MEMORY exit code to show that there was not enough memory; fix debug.stm build

This commit is contained in:
Ilmir Usmanov
2014-07-28 19:39:11 +04:00
parent d927d3e320
commit 1b6638f073
4 changed files with 7 additions and 1 deletions
+3
View File
@@ -66,6 +66,9 @@ jerry_exit( jerry_status_t code) /**< status code */
case ERR_PARSER:
__printf("ERR_PARSER\n");
break;
case ERR_MEMORY:
__printf("ERR_MEMORY\n");
break;
case ERR_GENERAL:
__printf("ERR_GENERAL\n");
break;