experiments...
This commit is contained in:
35
lib/hcl.h
35
lib/hcl.h
@ -1091,6 +1091,25 @@ typedef struct hcl_compiler_t hcl_compiler_t;
|
||||
|
||||
#define HCL_ERRMSG_CAPA (2048)
|
||||
|
||||
typedef struct hcl_code_container_t hcl_code_container_t;
|
||||
struct hcl_code_container_t
|
||||
{
|
||||
struct
|
||||
{
|
||||
hcl_oop_byte_t arr; /* byte code array - not part of object memory */
|
||||
hcl_oow_t len;
|
||||
} bc;
|
||||
|
||||
struct
|
||||
{
|
||||
hcl_oop_oop_t arr; /* literal array - not part of object memory */
|
||||
hcl_oow_t len;
|
||||
} lit;
|
||||
|
||||
hcl_code_container_t* _par;
|
||||
};
|
||||
|
||||
|
||||
struct hcl_t
|
||||
{
|
||||
hcl_oow_t _instsize;
|
||||
@ -1241,20 +1260,8 @@ struct hcl_t
|
||||
} xbuf; /* buffer to support sprintf */
|
||||
} sprintf;
|
||||
|
||||
struct
|
||||
{
|
||||
struct
|
||||
{
|
||||
hcl_oop_byte_t arr; /* byte code array - not part of object memory */
|
||||
hcl_oow_t len;
|
||||
} bc;
|
||||
|
||||
struct
|
||||
{
|
||||
hcl_oop_oop_t arr; /* literal array - not part of object memory */
|
||||
hcl_oow_t len;
|
||||
} lit;
|
||||
} code;
|
||||
hcl_code_container_t* ccstk; /* byte-code container stack */
|
||||
hcl_code_container_t code; /* byte-code structure generated by compilers */
|
||||
|
||||
/* == PRINTER == */
|
||||
struct
|
||||
|
Reference in New Issue
Block a user