enhanced the print function to print the class name for a class
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
enahnced the compiler to handle class defintion better. updated method management routines into method dictionary
This commit is contained in:
@ -1339,8 +1339,8 @@ enum hcl_bcode_t
|
||||
|
||||
HCL_CODE_PUSH_OBJVAR_X = 0xE4, /* 228 ## */
|
||||
HCL_CODE_CLASS_CMSTORE = 0xE5, /* 229 */
|
||||
HCL_CODE_CLASS_CIMSTORE = 0xE6, /* 230 */
|
||||
HCL_CODE_CLASS_IMSTORE = 0xE7, /* 231 */
|
||||
HCL_CODE_CLASS_IMSTORE = 0xE6, /* 230 */
|
||||
HCL_CODE_CLASS_CIMSTORE = 0xE7, /* 231 */
|
||||
|
||||
HCL_CODE_STORE_INTO_OBJVAR_X = 0xE8, /* 232 ## */
|
||||
HCL_CODE_MAKE_ARRAY = 0xE9, /* 233 ## */
|
||||
@ -1536,6 +1536,18 @@ hcl_oop_t hcl_findsymbol (
|
||||
);
|
||||
|
||||
|
||||
/* ========================================================================= */
|
||||
/* dic.c */
|
||||
/* ========================================================================= */
|
||||
hcl_oop_cons_t hcl_putatdic_method (
|
||||
hcl_t* hcl,
|
||||
hcl_oop_dic_t dic,
|
||||
hcl_oop_t key,
|
||||
hcl_oop_t value,
|
||||
int mtype /* 1 for class method, 2 for instance method */
|
||||
);
|
||||
|
||||
|
||||
/* ========================================================================= */
|
||||
/* proc.c */
|
||||
/* ========================================================================= */
|
||||
|
Reference in New Issue
Block a user