Commit 32a1c7b3a5b239f88e85e3b76f19913877e48277

Thomas de Grivel 2023-02-02T22:59:18

buf_inspect_ident

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/libc3/buf_inspect.c b/libc3/buf_inspect.c
index 69a275d..d526655 100644
--- a/libc3/buf_inspect.c
+++ b/libc3/buf_inspect.c
@@ -230,7 +230,7 @@ sw buf_inspect_ident (s_buf *buf, const s_ident *ident)
   assert(buf);
   assert(ident);
   result = 0;
-  if (ident->module) {
+  if (ident->module && ident->module != g_c3_env.current_module->name) {
     if ((r = buf_inspect_sym(buf, ident->module)) < 0)
       return r;
     result += r;