Explorar o código

DEBUG: Print parsed XML-file name

Serj Kalichev %!s(int64=11) %!d(string=hai) anos
pai
achega
3828991ad8
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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);