renamed the #native method modifier to #primitive for consistency

improved the method modifier processing logic in the compiler
This commit is contained in:
hyunghwan.chung
2017-02-20 04:45:23 +00:00
parent 6a7cbc8dcb
commit b45d896d9f
6 changed files with 199 additions and 156 deletions

View File

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