added a new method modifier #lenient that applies to a primitive method. when set, it turns soft failure to error return

This commit is contained in:
hyunghwan.chung
2017-05-07 16:45:27 +00:00
parent f45cde7ba7
commit 937895ef59
8 changed files with 90 additions and 63 deletions

View File

@@ -512,6 +512,7 @@ struct moo_compiler_t
{
moo_method_type_t type;
int primitive; /* true if method(#primitive) */
int lenient;
/* method source text */
moo_oocs_t text;