summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvi Levin <avi.levin@samsung.com>2015-06-09 13:38:18 +0300
committerAvi Levin <avi.levin@samsung.com>2015-06-09 13:38:18 +0300
commit861a32fef74abb62fa615860ce295bb501f35723 (patch)
tree356798aaaf1544ca33e35d9cccebf63b4dd7eb8a
parent66245133b2c04eb89c0a2766c9e3ee9e6c388a2f (diff)
Eolian_info: if no direactory included we scan the system directory
-rw-r--r--src/bin/.main.c.swpbin45056 -> 36864 bytes
-rw-r--r--src/bin/main.c6
2 files changed, 5 insertions, 1 deletions
diff --git a/src/bin/.main.c.swp b/src/bin/.main.c.swp
index 8100635..d32adfb 100644
--- a/src/bin/.main.c.swp
+++ b/src/bin/.main.c.swp
Binary files differ
diff --git a/src/bin/main.c b/src/bin/main.c
index a7b4bba..08212e9 100644
--- a/src/bin/main.c
+++ b/src/bin/main.c
@@ -369,7 +369,7 @@ int main(int argc, char **argv)
369 int max_depth = 0; 369 int max_depth = 0;
370 char *class_path ="elm_layout.eo";// argv[2]; 370 char *class_path ="elm_layout.eo";// argv[2];
371 char* scope = NULL, *output = NULL, *filter = NULL; 371 char* scope = NULL, *output = NULL, *filter = NULL;
372 Eina_Bool help = EINA_FALSE, show = EINA_FALSE; 372 Eina_Bool help = EINA_FALSE, show = EINA_FALSE, includes = EINA_FALSE;
373 Eina_Bool no_inheritance = EINA_FALSE, inheritors = EINA_FALSE; 373 Eina_Bool no_inheritance = EINA_FALSE, inheritors = EINA_FALSE;
374 374
375 eina_init(); 375 eina_init();
@@ -428,6 +428,7 @@ int main(int argc, char **argv)
428 } 428 }
429 case 'I': 429 case 'I':
430 { 430 {
431 includes = EINA_TRUE;
431 const char *dir = optarg; 432 const char *dir = optarg;
432 if (!eolian_directory_scan(dir))//todo works even if dir dont exist 433 if (!eolian_directory_scan(dir))//todo works even if dir dont exist
433 { 434 {
@@ -481,6 +482,9 @@ int main(int argc, char **argv)
481 } 482 }
482 } 483 }
483 484
485 if(!includes){
486 eolian_system_directory_scan();
487 }
484 eolian_all_eo_files_parse(); 488 eolian_all_eo_files_parse();
485 while(name_start < name_end) 489 while(name_start < name_end)
486 { 490 {