techee commented on this pull request.


> -     if (g_hash_table_lookup_extended(table, tag->name, NULL, (gpointer *) 
> &tree) &&
-               ! utils_str_equal(parent_name, tag->name) /* prevent Foo::Foo 
from making parent = child */)
+
+       if (EMPTY(tag->scope))
+       {
+               /* simple case, just use the tag name */
+               name = tag->name;
+       }
+       else if (! tm_tag_has_full_context(tag->lang))
+       {
+               /* if the parser doesn't use fully qualified scope, use the 
name alone but
+                * prevent Foo::Foo from making parent = child */
+               if (utils_str_equal(tag->scope, tag->name))
+                       name = NULL;
+               else
+                       name = tag->name;

g_strdup()

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1598#pullrequestreview-64739692

Reply via email to