made required changes to get rid of moo->c->cclass and moo->c->cpooldic.

changed the compiler to allow a pooldic nested in a class
This commit is contained in:
hyunghwan.chung 2018-10-07 05:34:13 +00:00
parent 079f2d3f4a
commit e7265f44bc
2 changed files with 1144 additions and 1125 deletions

File diff suppressed because it is too large Load Diff

View File

@ -679,12 +679,6 @@ struct moo_compiler_t
/* the current compilation unit being processed */
moo_cunit_t* cunit;
/* inner-most class unit. it may be same as 'cunit' or something up
* the 'cunit->cunit_parent' chain. i keep these to avoid repeated
* typecasting and assignment to another variable */
moo_cunit_class_t* cclass;
moo_cunit_pooldic_t* cpooldic;
};
#endif