This is a two-parts fix required for usage with 2.0:

8cad88d: Fix a crash when encountering an unknown tag type (e.g. locals)
3af0bf5: Add support for locals, and do something useful with them by default.

Without the first one, triggering documentation generation when a local is the "current" symbol crashes the plugin (and thus Geany).
Without the second one in addition, it's annoying because locals "catch" the generation request, although in most cases they should be skipped.

Both of these are particularly important with 2.0 because we now generate locals for purpose of improved scope completion, and thus we have a lot of them for parsers supporting it (e.g. the C and C++ one, which is the main default target of the plugin).


You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany-plugins/pull/1294

Commit Summary

File Changes

(4 files)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany-plugins/pull/1294@github.com>