renamed __assocPut: to __put_assoc:
This commit is contained in:
@ -4136,11 +4136,11 @@ static int compile_dictionary_expression (moo_t* moo)
|
||||
if (TOKEN_TYPE(moo) == MOO_IOTOK_ASSPAREN)
|
||||
{
|
||||
moo_oow_t si;
|
||||
static moo_ooch_t msg[] = { '_', '_', 'a','s','s','o','c','P','u','t',':' };
|
||||
static moo_ooch_t msg[] = { '_', '_','p','u','t','_','a','s','s','o','c',':' }; /* don't put '\0' at the back */
|
||||
moo_oocs_t x;
|
||||
|
||||
x.ptr = msg;
|
||||
x.len = 11;
|
||||
x.len = MOO_COUNTOF(msg);
|
||||
/* [ATTENTION]
|
||||
* if the method returns self, i don't need DUP_STACKTOP and POP_STACKTOP.
|
||||
* if the method retruns something else, DUP_STACKTOP and POP_STACKTOP is needed
|
||||
|
@ -1159,7 +1159,7 @@ enum moo_synerrnum_t
|
||||
MOO_SYNERR_WHILE, /* while expected */
|
||||
MOO_SYNERR_NOASSKEY, /* missing association key */
|
||||
MOO_SYNERR_NOASSVALUE, /* missing association value */
|
||||
MOO_SYNERR_NOASSOC, /* missing association */
|
||||
MOO_SYNERR_NOASSOC /* missing association */
|
||||
};
|
||||
typedef enum moo_synerrnum_t moo_synerrnum_t;
|
||||
|
||||
|
Reference in New Issue
Block a user