code clean-up
This commit is contained in:
parent
bf53ba8d7e
commit
724663e268
@ -4864,7 +4864,6 @@ static MOO_INLINE int find_undotted_ident (moo_t* moo, const moo_oocs_t* name, c
|
||||
|
||||
case MOO_CUNIT_INTERFACE:
|
||||
{
|
||||
/* TODO: */
|
||||
moo_cunit_interface_t* ifce = ((moo_cunit_interface_t*)moo->c->cunit);
|
||||
|
||||
if (ifce->self_oop)
|
||||
@ -5021,7 +5020,9 @@ static int compile_block_expression (moo_t* moo)
|
||||
|
||||
if (md->loop)
|
||||
{
|
||||
/* this block is placed inside the {} loop */
|
||||
/* this [] block is placed inside the {} loop.
|
||||
* this counter is used to check if 'break' or 'countinue' is
|
||||
* placed inside [], which is prohibited. */
|
||||
md->loop->blkcount++;
|
||||
}
|
||||
block_loc = *TOKEN_LOC(moo);
|
||||
|
Loading…
Reference in New Issue
Block a user