maint: add useful info msg

This commit is contained in:
FutureRave 2023-03-05 12:15:46 +00:00
parent 2bccc53eea
commit a2195e6f99
No known key found for this signature in database
GPG Key ID: 22F9079C86CFAB31

View File

@ -92,6 +92,8 @@ namespace gsc
std::vector<std::uint8_t> data; std::vector<std::uint8_t> data;
data.assign(source_buffer.begin(), source_buffer.end()); data.assign(source_buffer.begin(), source_buffer.end());
console::info("Compiling rawfile '%s'\n", real_name.data());
const auto assembly_ptr = compiler.compile(real_name, data); const auto assembly_ptr = compiler.compile(real_name, data);
// Pair of two buffers. First is the byte code and second is the stack // Pair of two buffers. First is the byte code and second is the stack
const auto output_script = assembler.assemble(*assembly_ptr); const auto output_script = assembler.assemble(*assembly_ptr);