[Github-comments] [geany/geany] TM cleanups (#957)

Jiří Techet notifications at xxxxx
Wed May 4 12:00:05 UTC 2016


> @@ -109,6 +109,35 @@ gchar *tm_get_real_path(const gchar *file_name)
>  	return NULL;
>  }
>  
> +/* add argument list of __init__() Python methods to the class tag */
> +static void update_python_arglist(const TMTag *tag)
> +{
> +	guint i;
> +	const char *parent_tag_name;
> +
> +	if (tag->type != tm_tag_method_t || tag->scope == NULL ||
> +		g_strcmp0(tag->name, "__init__") != 0)
> +		return;
> +
> +	parent_tag_name = strrchr(tag->scope, '.');

Yep, it seemed unused so I dropped it.

---
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/957/files/f61a64be29cbba0162f92eb5c1fe4aa2af33fd33#r62026825
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160504/de10b463/attachment.html>


More information about the Github-comments mailing list