diff options
author | Roland Reichwein <mail@reichwein.it> | 2020-03-29 20:15:52 +0200 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2020-03-29 20:15:52 +0200 |
commit | 2eb2383387d16fc919c07e1a6b9211406576b893 (patch) | |
tree | 83e5c5feb3b337552590d1ce7a4730d91081327f /mcc.cpp | |
parent | 12c12ebbdd3f843c87ba12c29727003f1f78a7ff (diff) |
Fix compiler structure
Diffstat (limited to 'mcc.cpp')
-rw-r--r-- | mcc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -38,7 +38,7 @@ int main(int argc, char* argv[]) std::string unit_string(reinterpret_cast<char*>(unit.data()), unit.size()); - cpp.translate(unit_string); + cpp.compile(unit_string); Elf::Write(out_filename, cpp.getCode(), cpp.getData()); } catch (const std::exception& ex) { |