Sfoglia il codice sorgente

DEBUG: Print parsed XML-file name

Serj Kalichev 11 anni fa
parent
commit
3828991ad8
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      clish/shell/shell_xml.c

+ 3 - 0
clish/shell/shell_xml.c

@@ -110,6 +110,9 @@ void clish_shell_load_scheme(clish_shell_t *this, const char *xml_path)
 				lub_string_cat(&filename, "/");
 				lub_string_cat(&filename, entry->d_name);
 
+#ifdef DEBUG
+				fprintf(stderr, "Parse XML-file: %s\n", filename);
+#endif
 				/* load this file */
 				(void)clish_shell_xml_read(this, filename);