[anjuta/newproject] Remove debugging message



commit 89a57564baea0009d1b909d2985146fdf485c7cf
Author: Sébastien Granjoux <seb sfo free fr>
Date:   Thu Mar 4 19:56:16 2010 +0100

    Remove debugging message

 plugins/am-project/ac-parser.y  |   48 +++++++++++++++++++-------------------
 plugins/am-project/am-project.c |   26 ++++++++++----------
 plugins/am-project/am-scanner.l |    4 +-
 3 files changed, 39 insertions(+), 39 deletions(-)
---
diff --git a/plugins/am-project/ac-parser.y b/plugins/am-project/ac-parser.y
index b581a2a..a8e0539 100644
--- a/plugins/am-project/ac-parser.y
+++ b/plugins/am-project/ac-parser.y
@@ -246,19 +246,19 @@ arg_list_body:
     arg {
         $$ = anjuta_token_new_static (ANJUTA_TOKEN_LIST, NULL);
         anjuta_token_merge ($$, $1);
-        fprintf(stdout, "arg_list_body arg\n");
-        anjuta_token_dump ($1);
+        //fprintf(stdout, "arg_list_body arg\n");
+        //anjuta_token_dump ($1);
     }
     | arg_list_body  separator  arg {
-        fprintf(stdout, "arg_list_body body\n");
-        anjuta_token_dump ($1);
-        fprintf(stdout, "arg_list_body separator\n");
-        anjuta_token_dump ($2);
-        fprintf(stdout, "arg_list_body arg\n");
-        anjuta_token_dump ($3);
+        //fprintf(stdout, "arg_list_body body\n");
+        //anjuta_token_dump ($1);
+        //fprintf(stdout, "arg_list_body separator\n");
+        //anjuta_token_dump ($2);
+        //fprintf(stdout, "arg_list_body arg\n");
+        //anjuta_token_dump ($3);
         anjuta_token_merge ($1, $3);
-        fprintf(stdout, "arg_list_body merge\n");
-        anjuta_token_dump ($1);
+        //fprintf(stdout, "arg_list_body merge\n");
+        //anjuta_token_dump ($1);
     }
     ;
 
@@ -374,13 +374,13 @@ arg:
         $$ = anjuta_token_new_static (ANJUTA_TOKEN_ITEM, NULL);
     }
     | arg_part arg_body {
-        fprintf(stdout, "arg part\n");
-        anjuta_token_dump ($1);
-        fprintf(stdout, "arg body\n");
-        anjuta_token_dump ($2);
+        //fprintf(stdout, "arg part\n");
+        //anjuta_token_dump ($1);
+        //fprintf(stdout, "arg body\n");
+        //anjuta_token_dump ($2);
         anjuta_token_merge_children ($1, $2);
-        fprintf(stdout, "arg merge\n");
-        anjuta_token_dump ($1);
+        //fprintf(stdout, "arg merge\n");
+        //anjuta_token_dump ($1);
     }        
     ;
 
@@ -428,16 +428,16 @@ separator:
     }
     | COMMA spaces {
         $$ = anjuta_token_new_static (ANJUTA_TOKEN_NEXT, NULL);
-        fprintf(stdout, "separator spaces\n");
-        anjuta_token_dump ($2);
-        fprintf(stdout, "separator comma\n");
-        anjuta_token_dump ($1);
-        fprintf(stdout, "separator next\n");
-        anjuta_token_dump ($$);
+        //fprintf(stdout, "separator spaces\n");
+        //anjuta_token_dump ($2);
+        //fprintf(stdout, "separator comma\n");
+        //anjuta_token_dump ($1);
+        //fprintf(stdout, "separator next\n");
+        //anjuta_token_dump ($$);
         anjuta_token_merge ($$, $1);
         anjuta_token_merge_children ($$, $2);
-        fprintf(stdout, "separator merge\n");
-        anjuta_token_dump ($$);
+        //fprintf(stdout, "separator merge\n");
+        //anjuta_token_dump ($$);
     }
     ;
 
diff --git a/plugins/am-project/am-project.c b/plugins/am-project/am-project.c
index 2d95f6e..6f04166 100644
--- a/plugins/am-project/am-project.c
+++ b/plugins/am-project/am-project.c
@@ -999,8 +999,8 @@ amp_project_load_properties (AmpProject *project, AnjutaToken *macro, AnjutaToke
 {
 	AnjutaProjectPropertyItem *list;
 	
-	fprintf (stdout, "property list:\n");
-	anjuta_token_dump (args);
+	//fprintf (stdout, "property list:\n");
+	//anjuta_token_dump (args);
 
 	project->ac_init = macro;
 	project->args = args;
@@ -1045,8 +1045,8 @@ amp_project_load_module (AmpProject *project, AnjutaToken *module)
 		gchar *compare;
 
 
-		fprintf(stdout, "Load module\n");
-		anjuta_token_dump (module);
+		//fprintf(stdout, "Load module\n");
+		//anjuta_token_dump (module);
 		
 		/* Module name */
 		arg = anjuta_token_first_item (module);
@@ -1546,7 +1546,7 @@ project_load_group_properties (AmpProject *project, AnjutaToken *token, AnjutaTo
 	name = anjuta_token_evaluate (token);
 	value = anjuta_token_evaluate (list);
 
-	g_message ("group_name %s", name);
+	//g_message ("group_name %s", name);
 	prop = amp_property_new (name, type, 0, value, list);
 
 	amp_node_property_add (parent, prop);
@@ -1651,7 +1651,7 @@ project_load_makefile (AmpProject *project, GFile *file, AnjutaProjectGroup *par
 			g_object_unref (final_file);
 			if (config != NULL)
 			{
-				g_message ("add group =%s= token %p group %p", *filename, config->token, anjuta_token_list (config->token));
+				//g_message ("add group =%s= token %p group %p", *filename, config->token, anjuta_token_list (config->token));
 				amp_group_add_token (group, config->token, AM_GROUP_TOKEN_CONFIGURE);
 				break;
 			}
@@ -1786,15 +1786,15 @@ amp_project_reload (AmpProject *project, GError **error)
 	g_hash_table_insert (project->files, configure_file, project->configure_file);
 	g_object_add_toggle_ref (G_OBJECT (project->configure_file), remove_config_file, project);
 	arg = anjuta_token_file_load (project->configure_file, NULL);
-	fprintf (stdout, "AC file before parsing\n");
-	anjuta_token_dump (arg);
-	fprintf (stdout, "\n");
+	//fprintf (stdout, "AC file before parsing\n");
+	//anjuta_token_dump (arg);
+	//fprintf (stdout, "\n");
 	scanner = amp_ac_scanner_new (project);
 	project->configure_token = amp_ac_scanner_parse_token (scanner, arg, 0, &err);
-	fprintf (stdout, "AC file after parsing\n");
-	anjuta_token_check (arg);
-	anjuta_token_dump (project->configure_token);
-	fprintf (stdout, "\n");
+	//fprintf (stdout, "AC file after parsing\n");
+	//anjuta_token_check (arg);
+	//anjuta_token_dump (project->configure_token);
+	//fprintf (stdout, "\n");
 	amp_ac_scanner_free (scanner);
 	if (project->configure_token == NULL)
 	{
diff --git a/plugins/am-project/am-scanner.l b/plugins/am-project/am-scanner.l
index 7f0ed54..4ceb724 100644
--- a/plugins/am-project/am-scanner.l
+++ b/plugins/am-project/am-scanner.l
@@ -242,12 +242,12 @@ amp_am_scanner_include (AmpAmScanner *scanner, AnjutaToken *name)
 	gchar *filename;
 
 	filename = anjuta_token_evaluate (name);
-	g_message ("read include =%s=", filename);
+	//g_message ("read include =%s=", filename);
 	file = g_file_resolve_relative_path (anjuta_token_stream_get_current_directory (scanner->stream), filename);
 	g_free (filename);
 	include = anjuta_token_file_new (file);
 	token = anjuta_token_file_load (include, NULL);
-	g_message ("read file =%s= arg %p", g_file_get_path (file), token);
+	//g_message ("read file =%s= arg %p", g_file_get_path (file), token);
 	amp_am_scanner_parse_token (scanner, token, file, NULL);
 	g_object_unref (file);
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]