SF.net SVN: geany: [2276] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Sun Feb 24 10:18:42 UTC 2008


Revision: 2276
          http://geany.svn.sourceforge.net/geany/?rev=2276&view=rev
Author:   eht16
Date:     2008-02-24 02:18:36 -0800 (Sun, 24 Feb 2008)

Log Message:
-----------
Define c_tags_ignore in options.c (tagmanager) instead of symbols.c.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/src/symbols.c
    trunk/src/symbols.h
    trunk/tagmanager/options.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2008-02-22 17:29:45 UTC (rev 2275)
+++ trunk/ChangeLog	2008-02-24 10:18:36 UTC (rev 2276)
@@ -1,3 +1,9 @@
+2008-02-24  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
+
+ * tagmanager/options.c, src/symbols.c, src/symbols.h:
+   Define c_tags_ignore in options.c (tagmanager) instead of symbols.c.
+
+
 2008-02-22  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>
 
  * tagmanager/options.c:

Modified: trunk/src/symbols.c
===================================================================
--- trunk/src/symbols.c	2008-02-22 17:29:45 UTC (rev 2275)
+++ trunk/src/symbols.c	2008-02-24 10:18:36 UTC (rev 2276)
@@ -86,10 +86,8 @@
 static void html_tags_loaded(void);
 static void load_user_tags(filetype_id ft_id);
 
-/* tags_ignore is a NULL-terminated array of strings, read from ~/.geany/ignore.tags.
- * This file contains a space or newline separated list of symbols which should be ignored
- * by the C/C++ parser, see -I command line option of ctags for details. */
-gchar **c_tags_ignore = NULL;
+// get the tags_ignore list, exported by tagmanager's options.c
+extern gchar **c_tags_ignore;
 
 static void load_c_ignore_tags(void)
 {

Modified: trunk/src/symbols.h
===================================================================
--- trunk/src/symbols.h	2008-02-22 17:29:45 UTC (rev 2275)
+++ trunk/src/symbols.h	2008-02-24 10:18:36 UTC (rev 2276)
@@ -26,7 +26,6 @@
 #define GEANY_SYMBOLS_H 1
 
 extern const guint TM_GLOBAL_TYPE_MASK;
-extern gchar **c_tags_ignore;
 
 
 void symbols_global_tags_loaded(gint file_type_idx);

Modified: trunk/tagmanager/options.c
===================================================================
--- trunk/tagmanager/options.c	2008-02-22 17:29:45 UTC (rev 2275)
+++ trunk/tagmanager/options.c	2008-02-24 10:18:36 UTC (rev 2276)
@@ -151,8 +151,10 @@
     return FALSE;
 }
 
-// get the tags_ignore list, exported by Geany's symbols.h
-extern gchar **c_tags_ignore;
+/* tags_ignore is a NULL-terminated array of strings, read from ~/.geany/ignore.tags.
+ * This file contains a space or newline separated list of symbols which should be ignored
+ * by the C/C++ parser, see -I command line option of ctags for details. */
+gchar **c_tags_ignore = NULL;
 
 /*  Determines whether or not "name" should be ignored, per the ignore list.
  */


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