From 03e211d6eeb3f8f3c6f0b22f77c2074e81443952 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Sun, 6 Sep 2015 18:08:38 +0800 Subject: Rough span support --- src/convert/ast_iterate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/convert/ast_iterate.cpp') diff --git a/src/convert/ast_iterate.cpp b/src/convert/ast_iterate.cpp index a61dd553..cdb927e6 100644 --- a/src/convert/ast_iterate.cpp +++ b/src/convert/ast_iterate.cpp @@ -377,7 +377,7 @@ void CASTIterator::handle_impl(AST::Path modpath, AST::Impl& impl) for( auto& fcn : impl.functions() ) { DEBUG("- Function '" << fcn.name << "'"); - handle_function(AST::Path(AST::Path::TagRelative()) + fcn.name, fcn.data); + handle_function(AST::Path(AST::Path::TagRelative(), { AST::PathNode(fcn.name) }), fcn.data); } end_scope(); -- cgit v1.2.3