printf("bbs2 <filename.bbs> <cxx|py|js>\n");
return 1;
}
- std::string fileBase,file,path;
+
+//EED 2023-11-07
+ // std::string fileBase,file,path;
+ // std::string extention( argv[2] );
+ // fileBase = bbtk::Utilities::ExtractScriptName(argv[1],path);
+ // file = fileBase + std::string(".") + extention;
+
+ std::string fileBase,path;
std::string extention( argv[2] );
fileBase = bbtk::Utilities::ExtractScriptName(argv[1],path);
- file = fileBase + std::string(".") + extention;
+ std::string file(path+"/"+fileBase+"."+extention);
+ printf("file %s \n",file.c_str() );
if ( extention.compare("cxx")==0)
{