[Github-comments] [geany/geany] Fix the symbols tree hierarchy when several tags have the same name (#1598)

Jiří Techet notifications at xxxxx
Sat Sep 23 19:54:19 UTC 2017


techee commented on this pull request.



>  	GTree *tree;
-	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;

Ah, OK, makes sense then. It was just a suggestion, it can stay the way it is.

-- 
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#discussion_r140640501
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20170923/73c4c329/attachment.html>


More information about the Github-comments mailing list