Skip to content
This repository was archived by the owner on Oct 12, 2026. It is now read-only.

Commit 439f791

Browse files
committed
chore: moved type to frontend module
1 parent 4c11ec0 commit 439f791

5 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎CMakeLists.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ add_library(frontend STATIC
1414
${CMAKE_SOURCE_DIR}/src/frontend/ast.cpp
1515
${CMAKE_SOURCE_DIR}/src/frontend/program.cpp
1616
${CMAKE_SOURCE_DIR}/src/frontend/parser.cpp
17+
${CMAKE_SOURCE_DIR}/src/frontend/type.cpp
1718
)
1819

1920
add_library(interpreter STATIC
20-
${CMAKE_SOURCE_DIR}/src/interpreter/type.cpp
2121
${CMAKE_SOURCE_DIR}/src/interpreter/interpreter.cpp
2222
${CMAKE_SOURCE_DIR}/src/interpreter/builtins.cpp
2323
${CMAKE_SOURCE_DIR}/src/interpreter/builtin-modules/builtin_module_core.cpp

‎include/lbd/frontend/ast.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#pragma once
22

33
#include <lbd/frontend/location.h>
4-
#include <lbd/interpreter/type.h>
4+
#include <lbd/frontend/type.h>
55
#include <string>
66
#include <variant>
77
#include <vector>

‎include/lbd/frontend/parser.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#include <lbd/frontend/ast.h>
55
#include <lbd/frontend/token.h>
66
#include <lbd/frontend/program.h>
7-
#include <lbd/interpreter/type.h>
7+
#include <lbd/frontend/type.h>
88
#include <vector>
99

1010
namespace frontend {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#include <lbd/error.h>
2-
#include <lbd/interpreter/type.h>
2+
#include <lbd/frontend/type.h>
33

44
namespace interpreter::type {
55
std::ostream &operator<<(std::ostream &stream, const PrimitiveType &type) {

0 commit comments

Comments
 (0)