From 2eb2383387d16fc919c07e1a6b9211406576b893 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sun, 29 Mar 2020 20:15:52 +0200 Subject: Fix compiler structure --- mcc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mcc.cpp') 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(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) { -- cgit v1.2.3