aboutsummaryrefslogtreecommitdiff
path: root/boot/ast.cc
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2026-10-09 09:55:53 +0200
committerEugen Wissner <belka@caraus.de>2026-10-09 10:33:53 +0200
commit244449004fb62adbfd43b81e8dfce7500ca4a7e4 (patch)
treeb115946fc1efc2edc0de71a4e6d7cce2c50f39f2 /boot/ast.cc
parent994e6c95929ad9551901d86617e4678920f8f357 (diff)
downloadelna-244449004fb62adbfd43b81e8dfce7500ca4a7e4.tar.gz
Move export mark after the generic parameters
Diffstat (limited to 'boot/ast.cc')
-rw-r--r--boot/ast.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/boot/ast.cc b/boot/ast.cc
index 456797a..b681695 100644
--- a/boot/ast.cc
+++ b/boot/ast.cc
@@ -597,8 +597,10 @@ namespace elna::boot
}
identifier_definition::identifier_definition(const std::string& name,
- const source_position& position, const bool exported, std::vector<attribute>&& attributes)
- : attributes(std::move(attributes)), m_identifier(name, position), m_exported(exported)
+ const source_position& position, const bool exported,
+ std::vector<identifier>&& parameters, std::vector<attribute>&& attributes)
+ : parameters(std::move(parameters)), attributes(std::move(attributes)),
+ m_identifier(name, position), m_exported(exported)
{
}