diff options
| author | Eugen Wissner <belka@caraus.de> | 2026-11-13 12:01:17 +0100 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2026-11-13 13:15:30 +0100 |
| commit | 7ab6e1021611cc6913ee4ab5faf1b31f928a65e9 (patch) | |
| tree | b6e650890682831503c73608ac7fd370d2847d8a /gcc | |
| parent | 0b5bd8114255e04dae27a7528a3111d6923e5fbe (diff) | |
| download | elna-7ab6e1021611cc6913ee4ab5faf1b31f928a65e9.tar.gz | |
Create parser stubs
Diffstat (limited to 'gcc')
| -rw-r--r-- | gcc/gcc/elna-builtins.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gcc/elna-builtins.cc b/gcc/gcc/elna-builtins.cc index a364ce6..a1bbcea 100644 --- a/gcc/gcc/elna-builtins.cc +++ b/gcc/gcc/elna-builtins.cc @@ -412,7 +412,7 @@ namespace elna::gcc tree declaration_tree = build_decl(UNKNOWN_LOCATION, VAR_DECL, get_identifier(name.c_str()), variable_type); DECL_EXTERNAL(declaration_tree) = static_cast<unsigned>(info.is_extern); - TREE_PUBLIC(declaration_tree) = static_cast<unsigned>(info.exported); + TREE_PUBLIC(declaration_tree) = static_cast<unsigned>(info.exported || info.is_extern); symbols->enter(name, declaration_tree); |
