summaryrefslogtreecommitdiff
path: root/src/ast/path.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast/path.cpp')
-rw-r--r--src/ast/path.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ast/path.cpp b/src/ast/path.cpp
index f3fc5e82..103ca1b2 100644
--- a/src/ast/path.cpp
+++ b/src/ast/path.cpp
@@ -356,7 +356,8 @@ void Path::print_pretty(::std::ostream& os) const
}
break;
case Path::ABSOLUTE:
- os << "{"<<path.m_crate<<"}";
+ if( path.m_crate != "" )
+ os << "::\""<<path.m_crate<<"\"";
for(const auto& n : path.m_nodes)
{
#if PRETTY_PATH_PRINT