aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHimbeer <himbeer@disroot.org>2025-05-06 11:52:06 +0200
committerHimbeer <himbeer@disroot.org>2025-05-06 11:52:06 +0200
commit53b555eeb5939436a97b36436f28ce0a12549f9c (patch)
tree7a14271d456e8e77c5fe677c13bc686bc2bdd15a
parentec562ca4cad8667eaecd565cd90049480d2cfdd7 (diff)
Add missing visibility information to certain toplevels
-rw-r--r--include/parse.h4
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;
};