mirror of
https://github.com/polserver/polserver
synced 2026-08-13 08:23:08 -04:00
* Add -G / CompareCompilerOutput ecompile mode that runs old and new compiler and compares output. Add LegacyFunctionOrder because parity needs to know how the old compiler ordered functions. * Fix class/struct mixup, add to cmake sources
43 lines
815 B
C++
43 lines
815 B
C++
#include "Compiler.h"
|
|
|
|
namespace Pol
|
|
{
|
|
namespace Bscript
|
|
{
|
|
namespace Compiler
|
|
{
|
|
Compiler::Compiler() = default;
|
|
|
|
Compiler::~Compiler() = default;
|
|
|
|
bool Compiler::compile_file( const std::string& filename )
|
|
{
|
|
return compile_file( filename, nullptr );
|
|
}
|
|
|
|
bool Compiler::write_ecl( const std::string& /*pathname*/ )
|
|
{
|
|
return false;
|
|
}
|
|
|
|
void Compiler::write_listing( const std::string& /*pathname*/ )
|
|
{
|
|
}
|
|
|
|
void Compiler::write_dbg( const std::string& /*pathname*/, bool /*include_debug_text*/ )
|
|
{
|
|
}
|
|
|
|
void Compiler::write_included_filenames( const std::string& /*pathname*/ )
|
|
{
|
|
}
|
|
|
|
bool Compiler::compile_file( const std::string& /*filename*/,
|
|
const LegacyFunctionOrder* /*legacy_function_order*/ )
|
|
{
|
|
return false;
|
|
}
|
|
|
|
} // namespace Compiler
|
|
} // namespace Bscript
|
|
} // namespace Pol
|