diff --git a/main.cpp b/main.cpp index 907abe1..dcbeda7 100644 --- a/main.cpp +++ b/main.cpp @@ -459,19 +459,19 @@ std::string run_command(std::string command, std::vector args) { // Interpreter initialiser void init_interpreter(int argc, char *argv[]) { // Load modules from modules directory - struct dirent *dp; - DIR *dfd; - char filename_qfd[264]; - char moduledir [] = "modules"; - dfd = opendir(moduledir); - while ((dp = readdir(dfd)) != NULL) { - sprintf(filename_qfd , "%s/%s",moduledir,dp->d_name); - // Skip . and .. - if (strcmp(dp->d_name,"..") or strcmp(dp->d_name,".")) - continue; - // Load file - std::cout << "Module loading not yet implemented for: " << filename_qfd << std::endl; - } + //struct dirent *dp; + //DIR *dfd; + //char filename_qfd[264]; + //char moduledir [] = "modules"; + //dfd = opendir(moduledir); + //while ((dp = readdir(dfd)) != NULL) { + // sprintf(filename_qfd , "%s/%s",moduledir,dp->d_name); + // // Skip . and .. + // if (strcmp(dp->d_name,"..") or strcmp(dp->d_name,".")) + // continue; + // // Load file + // std::cout << "Module loading not yet implemented for: " << filename_qfd << std::endl; + //} // Generate list of arguments for (int elemnum = 0; elemnum < argc; elemnum++) { cmdargs.push_back(std::string(argv[elemnum]));