summaryrefslogtreecommitdiffhomepage
path: root/mcc.cpp
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-03-29 20:15:52 +0200
committerRoland Reichwein <mail@reichwein.it>2020-03-29 20:15:52 +0200
commit2eb2383387d16fc919c07e1a6b9211406576b893 (patch)
tree83e5c5feb3b337552590d1ce7a4730d91081327f /mcc.cpp
parent12c12ebbdd3f843c87ba12c29727003f1f78a7ff (diff)
Fix compiler structure
Diffstat (limited to 'mcc.cpp')
-rw-r--r--mcc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcc.cpp b/mcc.cpp
index fa9b0b8..7d94cf8 100644
--- a/mcc.cpp
+++ b/mcc.cpp
@@ -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) {