This commit is contained in:
xensik 2021-12-26 13:38:02 +01:00
parent e5c87d648d
commit 24ef496b2d
9 changed files with 9 additions and 9 deletions

View File

@ -19,7 +19,7 @@ auto compiler::output() -> std::vector<function::ptr>
void compiler::compile(const std::string& file, std::vector<std::uint8_t>& data) void compiler::compile(const std::string& file, std::vector<std::uint8_t>& data)
{ {
filename_ = file; filename_ = file;
sources_.empty(); sources_.clear();
auto prog = parse_buffer(filename_, data); auto prog = parse_buffer(filename_, data);

View File

@ -19,7 +19,7 @@ auto compiler::output() -> std::vector<function::ptr>
void compiler::compile(const std::string& file, std::vector<std::uint8_t>& data) void compiler::compile(const std::string& file, std::vector<std::uint8_t>& data)
{ {
filename_ = file; filename_ = file;
sources_.empty(); sources_.clear();
auto prog = parse_buffer(filename_, data); auto prog = parse_buffer(filename_, data);

View File

@ -19,7 +19,7 @@ auto compiler::output() -> std::vector<function::ptr>
void compiler::compile(const std::string& file, std::vector<std::uint8_t>& data) void compiler::compile(const std::string& file, std::vector<std::uint8_t>& data)
{ {
filename_ = file; filename_ = file;
sources_.empty(); sources_.clear();
auto prog = parse_buffer(filename_, data); auto prog = parse_buffer(filename_, data);

View File

@ -19,7 +19,7 @@ auto compiler::output() -> std::vector<function::ptr>
void compiler::compile(const std::string& file, std::vector<std::uint8_t>& data) void compiler::compile(const std::string& file, std::vector<std::uint8_t>& data)
{ {
filename_ = file; filename_ = file;
sources_.empty(); sources_.clear();
auto prog = parse_buffer(filename_, data); auto prog = parse_buffer(filename_, data);

View File

@ -19,7 +19,7 @@ auto compiler::output() -> std::vector<function::ptr>
void compiler::compile(const std::string& file, std::vector<std::uint8_t>& data) void compiler::compile(const std::string& file, std::vector<std::uint8_t>& data)
{ {
filename_ = file; filename_ = file;
sources_.empty(); sources_.clear();
auto prog = parse_buffer(filename_, data); auto prog = parse_buffer(filename_, data);

View File

@ -19,7 +19,7 @@ auto compiler::output() -> std::vector<function::ptr>
void compiler::compile(const std::string& file, std::vector<std::uint8_t>& data) void compiler::compile(const std::string& file, std::vector<std::uint8_t>& data)
{ {
filename_ = file; filename_ = file;
sources_.empty(); sources_.clear();
auto prog = parse_buffer(filename_, data); auto prog = parse_buffer(filename_, data);

View File

@ -19,7 +19,7 @@ auto compiler::output() -> std::vector<function::ptr>
void compiler::compile(const std::string& file, std::vector<std::uint8_t>& data) void compiler::compile(const std::string& file, std::vector<std::uint8_t>& data)
{ {
filename_ = file; filename_ = file;
sources_.empty(); sources_.clear();
auto prog = parse_buffer(filename_, data); auto prog = parse_buffer(filename_, data);

View File

@ -19,7 +19,7 @@ auto compiler::output() -> std::vector<function::ptr>
void compiler::compile(const std::string& file, std::vector<std::uint8_t>& data) void compiler::compile(const std::string& file, std::vector<std::uint8_t>& data)
{ {
filename_ = file; filename_ = file;
sources_.empty(); sources_.clear();
auto prog = parse_buffer(filename_, data); auto prog = parse_buffer(filename_, data);

View File

@ -19,7 +19,7 @@ auto compiler::output() -> std::vector<function::ptr>
void compiler::compile(const std::string& file, std::vector<std::uint8_t>& data) void compiler::compile(const std::string& file, std::vector<std::uint8_t>& data)
{ {
filename_ = file; filename_ = file;
sources_.empty(); sources_.clear();
auto prog = parse_buffer(filename_, data); auto prog = parse_buffer(filename_, data);