Skip to content

Commit

Permalink
[cpp] rename link namespace to linkage... bloody unix headers
Browse files Browse the repository at this point in the history
  • Loading branch information
harrand committed May 22, 2024
1 parent 92a478b commit 2f1ae70
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cpp/src/link.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include "link.hpp"
#include "diag.hpp"

namespace link
namespace linkage
{
// implementation details...
enum class linker_type
Expand Down
2 changes: 1 addition & 1 deletion cpp/src/link.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include <filesystem>
#include <unordered_map>

namespace link
namespace linkage
{
struct state
{
Expand Down
2 changes: 1 addition & 1 deletion cpp/src/psyc_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ int main(int argc, char** argv)
// codegen
timer::start();
code::state codegen;
link::state link;
linkage::state link;
for(const auto& [input_file, semantic_output] : semal.analysed_input_files)
{
codegen.codegend_input_files[input_file] = code::generate(parse.parsed_input_files[input_file], semantic_output, binfo, input_file.string());
Expand Down

0 comments on commit 2f1ae70

Please sign in to comment.