summaryrefslogtreecommitdiff
path: root/src/ast/path.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast/path.hpp')
-rw-r--r--src/ast/path.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ast/path.hpp b/src/ast/path.hpp
index cbe009f9..1260ece3 100644
--- a/src/ast/path.hpp
+++ b/src/ast/path.hpp
@@ -114,6 +114,7 @@ public:
::std::vector<PathNode> nodes;
) ),
(Super, ( // Parent-relative
+ unsigned int count;
::std::vector<PathNode> nodes;
) ),
(Absolute, ( // Absolute
@@ -184,8 +185,8 @@ public:
{}
// SUPER
struct TagSuper {};
- Path(TagSuper, ::std::vector<PathNode> nodes):
- m_class( Class::make_Super({nodes: nodes}) )
+ Path(TagSuper, unsigned int count, ::std::vector<PathNode> nodes):
+ m_class( Class::make_Super({count: count, nodes: mv$(nodes)}) )
{}
void set_crate(::std::string crate) {