Adding configuration option for ECMA exception support.

This commit is contained in:
Ruben Ayrapetyan
2014-09-08 19:09:34 +04:00
parent 4d34bab9a0
commit dafbaa742e
4 changed files with 41 additions and 10 deletions
+2
View File
@@ -103,7 +103,9 @@ typedef enum
ECMA_COMPLETION_TYPE_RETURN, /**< block completed with return */
ECMA_COMPLETION_TYPE_BREAK, /**< block completed with break */
ECMA_COMPLETION_TYPE_CONTINUE, /**< block completed with continue */
#ifdef CONFIG_ECMA_EXCEPTION_SUPPORT
ECMA_COMPLETION_TYPE_THROW, /**< block completed with throw */
#endif /* CONFIG_ECMA_EXCEPTION_SUPPORT */
ECMA_COMPLETION_TYPE_EXIT, /**< implementation-defined completion type
for finishing script execution */
ECMA_COMPLETION_TYPE_META /**< implementation-defined completion type