diff options
Diffstat (limited to 'src/ast/path.cpp')
-rw-r--r-- | src/ast/path.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ast/path.cpp b/src/ast/path.cpp index 686647a5..c06a63a4 100644 --- a/src/ast/path.cpp +++ b/src/ast/path.cpp @@ -386,7 +386,7 @@ void Path::print_pretty(::std::ostream& os) const ::std::ostream& operator<<(::std::ostream& os, const Path& path) { - if( path.m_nodes.size() == 0 ) + if( path.m_nodes.size() == 0 && path.m_class == Path::RELATIVE ) { os << "/* null path */"; return os; |