diff options
| author | John Hodge <tpg@ucc.asn.au> | 2019-05-05 20:12:58 +0800 |
|---|---|---|
| committer | John Hodge <tpg@ucc.asn.au> | 2019-05-05 20:12:58 +0800 |
| commit | 7a5cd835703fdfac0634b975392f915e0230c2a7 (patch) | |
| tree | cecda0ef233d853e9058649b49d373a8f0a5f299 /src/ident.cpp | |
| parent | 6cc802dfbd44a6f1f76cc5ae76227f1f54cf9f75 (diff) | |
| download | mrust-7a5cd835703fdfac0634b975392f915e0230c2a7.tar.gz | |
parse/expand/resolve - `macro` macros use their own module as the resolve root
Diffstat (limited to 'src/ident.cpp')
| -rw-r--r-- | src/ident.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ident.cpp b/src/ident.cpp index da029e21..63fe57ed 100644 --- a/src/ident.cpp +++ b/src/ident.cpp @@ -34,7 +34,10 @@ bool Ident::Hygiene::is_visible(const Hygiene& src) const } ::std::ostream& operator<<(::std::ostream& os, const Ident::Hygiene& x) { - os << "{" << x.contexts << "}"; + os << "{" << x.contexts; + if( x.search_module ) + os << " " << x.search_module->ents; + os << "}"; return os; } |
