@techee commented on this pull request.


> +     if (!EMPTY(parent->scope))
+       {
+               if (!g_str_has_prefix(tag->scope, parent->scope))
+                       return FALSE;
+               scope_len = strlen(parent->scope);
+
+               if (!g_str_has_prefix(tag->scope + scope_len, scope_sep))
+                       return FALSE;
+               scope_len += strlen(scope_sep);
+       }
+
+       if (!g_str_has_prefix(tag->scope + scope_len, parent->name))
+               return FALSE;
+       scope_len += strlen(parent->name);
+
+       if (scope_len == strlen(tag->scope))

Yes, this one crossed my mind before falling asleep yesterday :-)

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

Message ID: <geany/geany/pull/4063/review/[email protected]>

Reply via email to