Improved CLI interface

This commit is contained in:
David Anderson
2004-08-11 09:32:24 +00:00
parent b5ef654987
commit 7fad1802cf
4 changed files with 37 additions and 6 deletions

View File

@ -111,7 +111,7 @@ int Compiler::CipCount()
return cipc;
}
bool Compiler::Compile()
bool Compiler::Compile(std::string &out)
{
if (CodeList.size() < 1 || !CError || CError->GetStatus() >= Err_Error)
{
@ -204,7 +204,7 @@ bool Compiler::Compile()
fileSize = hea;
std::string amxname;
amxname.assign(filename);
amxname.assign(out);
int pos = (int)amxname.find(".asm");
if (pos != std::string::npos)
{