| 40 | } |
| 41 | |
| 42 | int parse(std::string project_input_file_name, |
| 43 | std::string source_include_file_name, |
| 44 | std::string include_path, |
| 45 | std::string sys_include, |
| 46 | std::string module_name, |
| 47 | std::string show_errors) |
| 48 | { |
| 49 | std::cout << std::endl; |
| 50 | std::cout << "Parsing meta data for target \"" << module_name << "\"" << std::endl; |
| 51 | std::fstream input_file; |
| 52 | |
| 53 | bool is_show_errors = "0" != show_errors; |
| 54 | |
| 55 | MetaParser parser( |
| 56 | project_input_file_name, source_include_file_name, include_path, sys_include, module_name, is_show_errors); |
| 57 | |
| 58 | std::cout << "Parsing in " << include_path << std::endl; |
| 59 | int result = parser.parse(); |
| 60 | if (0 != result) |
| 61 | { |
| 62 | return result; |
| 63 | } |
| 64 | |
| 65 | parser.generateFiles(); |
| 66 | |
| 67 | return 0; |
| 68 | } |
no test coverage detected