소스 검색

DEBUG: Print parsed XML-file name

Serj Kalichev 11 년 전
부모
커밋
3828991ad8
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  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);