[anjuta] symbol-db: small fixes to new ctags parser.
- From: Massimo Cora' <mcora src gnome org>
- To: svn-commits-list gnome org
- Subject: [anjuta] symbol-db: small fixes to new ctags parser.
- Date: Mon, 22 Jun 2009 16:42:33 -0400 (EDT)
commit d80b551969a4a7d0eb80e26cc7e1e961fefb5480
Author: Massimo Corà <mcora src gnome org>
Date: Mon Jun 22 22:40:42 2009 +0200
symbol-db: small fixes to new ctags parser.
Removed some heavy printf () from c.c. Renamed program from anjuta_tags to anjuta-tags. Added flag-field to anjuta_launcher.
plugins/symbol-db/anjuta-tags/Makefile.am | 2 +-
plugins/symbol-db/anjuta-tags/c.c | 2 +-
plugins/symbol-db/symbol-db-engine-core.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/plugins/symbol-db/anjuta-tags/Makefile.am b/plugins/symbol-db/anjuta-tags/Makefile.am
index c026163..eea7d23 100644
--- a/plugins/symbol-db/anjuta-tags/Makefile.am
+++ b/plugins/symbol-db/anjuta-tags/Makefile.am
@@ -10,7 +10,7 @@ AM_CPPFLAGS = \
AM_CFLAGS =\
-Wall
-bin_PROGRAMS = anjuta_tags
+bin_PROGRAMS = anjuta-tags
anjuta_tags_SOURCES = \
main.c \
diff --git a/plugins/symbol-db/anjuta-tags/c.c b/plugins/symbol-db/anjuta-tags/c.c
index 95e4a48..71a7067 100644
--- a/plugins/symbol-db/anjuta-tags/c.c
+++ b/plugins/symbol-db/anjuta-tags/c.c
@@ -2185,7 +2185,7 @@ static void parseReturnType (statementInfo *const st)
/* put and end marker */
vStringTerminate (ReturnType);
- //*/
+ /*/
printf ("~~~~~ statement ---->\n");
ps (st);
printf ("FOUND ReturnType: %s\n", vStringValue (ReturnType));
diff --git a/plugins/symbol-db/symbol-db-engine-core.c b/plugins/symbol-db/symbol-db-engine-core.c
index 5689f26..5873dd5 100644
--- a/plugins/symbol-db/symbol-db-engine-core.c
+++ b/plugins/symbol-db/symbol-db-engine-core.c
@@ -1666,7 +1666,7 @@ sdb_engine_ctags_launcher_create (SymbolDBEngine * dbe)
g_signal_connect (G_OBJECT (priv->ctags_launcher), "child-exited",
G_CALLBACK (on_scan_files_end_1), dbe);
- exe_string = g_strdup_printf ("%s --sort=no --fields=afmiKlnsStz --c++-kinds=+p "
+ exe_string = g_strdup_printf ("%s --sort=no --fields=afmiKlnsStTz --c++-kinds=+p "
"--filter=yes --filter-terminator='"CTAGS_MARKER"'",
priv->ctags_path);
DEBUG_PRINT ("Launching %s", exe_string);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]