SF.net SVN: geany: [1436] trunk
ntrel at users.sourceforge.net
ntrel at xxxxx
Thu Apr 5 11:24:10 UTC 2007
Revision: 1436
http://svn.sourceforge.net/geany/?rev=1436&view=rev
Author: ntrel
Date: 2007-04-05 04:24:10 -0700 (Thu, 05 Apr 2007)
Log Message:
-----------
Write tm_tag_enumerator_t and tm_tag_macro_t (e.g. for GTK_STOCK_*)
tags when creating a global tags file, and store the pointerOrder.
Modified Paths:
--------------
trunk/ChangeLog
trunk/tagmanager/tm_workspace.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2007-04-03 15:57:12 UTC (rev 1435)
+++ trunk/ChangeLog 2007-04-05 11:24:10 UTC (rev 1436)
@@ -1,3 +1,10 @@
+2007-04-05 Nick Treleaven <nick.treleaven at btinternet.com>
+
+ * tagmanager/tm_workspace.c:
+ Write tm_tag_enumerator_t and tm_tag_macro_t (e.g. for GTK_STOCK_*)
+ tags when creating a global tags file, and store the pointerOrder.
+
+
2007-04-03 Nick Treleaven <nick.treleaven at btinternet.com>
* src/search.c:
Modified: trunk/tagmanager/tm_workspace.c
===================================================================
--- trunk/tagmanager/tm_workspace.c 2007-04-03 15:57:12 UTC (rev 1435)
+++ trunk/tagmanager/tm_workspace.c 2007-04-05 11:24:10 UTC (rev 1436)
@@ -294,7 +294,7 @@
includes_files = NULL;
fclose(fp);
- /* FIXME: The following grep command it be remove the lines
+ /* FIXME: The following grep command removes the lines
* G_BEGIN_DECLS and G_END_DECLS from the header files. The reason is
* that in tagmanager, the files are not correctly parsed and the typedefs
* following these lines are incorrectly parsed. The real fix should,
@@ -325,7 +325,8 @@
return FALSE;
}
tags_array = tm_tags_extract(source_file->tags_array, tm_tag_class_t |
- tm_tag_typedef_t | tm_tag_prototype_t | tm_tag_enum_t | tm_tag_macro_with_arg_t);
+ tm_tag_typedef_t | tm_tag_prototype_t | tm_tag_enum_t | tm_tag_enumerator_t |
+ tm_tag_macro_t | tm_tag_macro_with_arg_t);
if ((NULL == tags_array) || (0 == tags_array->len))
{
if (tags_array)
@@ -343,10 +344,11 @@
tm_source_file_free(source_file);
return FALSE;
}
- for (i=0; i < tags_array->len; ++i)
+ for (i = 0; i < tags_array->len; ++i)
{
tm_tag_write(TM_TAG(tags_array->pdata[i]), fp, tm_tag_attr_type_t
- | tm_tag_attr_scope_t | tm_tag_attr_arglist_t | tm_tag_attr_vartype_t);
+ | tm_tag_attr_scope_t | tm_tag_attr_arglist_t | tm_tag_attr_vartype_t
+ | tm_tag_attr_pointer_t);
}
fclose(fp);
tm_source_file_free(source_file);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Commits
mailing list