diff options
-rw-r--r-- | include/parse.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/parse.h b/include/parse.h index aad1db9..8cb5f2c 100644 --- a/include/parse.h +++ b/include/parse.h @@ -115,6 +115,7 @@ struct ast_const { struct location loc; const char *name; + int ispub; struct expr value; }; @@ -129,6 +130,7 @@ struct ast_enum { struct location loc; struct expr init; + int ispub; struct ast_enumvar *variants; int variantsz, variantlen; }; @@ -145,6 +147,7 @@ struct ast_struct { const char *name; int align; + int ispub; struct ast_field *fields; int fieldsz, fieldlen; }; @@ -153,6 +156,7 @@ struct ast_union { struct location loc; const char *name; + int ispub; struct type *types; int typesz, typelen; }; |