adding code to form an object in the feed-based reader

This commit is contained in:
2022-07-26 15:06:53 +00:00
parent cdc939fb1d
commit aab704ac4b
2 changed files with 430 additions and 26 deletions

View File

@ -626,6 +626,15 @@ enum hcl_flx_state_t
};
typedef enum hcl_flx_state_t hcl_flx_state_t;
typedef struct hcl_frd_t hcl_frd_t;
struct hcl_frd_t
{
int level;
int array_level;
int flagv;
hcl_cnode_t* obj;
};
struct hcl_compiler_t
{
/* output handler */
@ -694,19 +703,14 @@ struct hcl_compiler_t
struct
{
int code;
union
/*union
{
struct
{
int x;
} xxx;
struct
{
int x;
} yyy;
} u;
} u;*/
} st[100];
hcl_ooi_t top;
struct hcl_frd_t rd;
} feed;
/* == COMPILER STACK == */