[Github-comments] [geany/geany] Improve handling of anonymous tags (PR #3059)
Thomas Martitz
notifications at xxxxx
Mon Dec 20 22:45:55 UTC 2021
@kugel- commented on this pull request.
> @@ -120,7 +120,15 @@ static gboolean init_tag(TMTag *tag, TMSourceFile *file, const tagEntryInfo *tag
tag->name = g_strdup(tag_entry->name);
tag->type = type;
tag->local = tag_entry->isFileScope;
- tag->pointerOrder = 0; /* backward compatibility (use var_type instead) */
+ tag->flags = tm_tag_flag_none_t;
+ if (isTagExtraBitMarked(tag_entry, XTAG_ANONYMOUS))
+ {
+ tag->flags |= tm_tag_flag_anon_t;
+ /* Temporarily store kind letter for anon name generation to flags
+ * as we don't have any other place where to store it. This will
+ * be cleared later in rename_anon_tags() */
+ tag->flags |= (guint)kind_letter << 16;
Since then the Debian package implements a technical barrier, where plugins depend on the exact ABI version (so in practice its not possible to update the geany package to a conflicting version, without also updating the plugins).
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3059#discussion_r772714125
You are receiving this because you are subscribed to this thread.
Message ID: <geany/geany/pull/3059/review/836875536 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20211220/18592a2a/attachment.htm>
More information about the Github-comments
mailing list