diff options
| author | hachem <im@hachem.wtf> | 2026-09-08 12:00:49 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2026-09-08 12:00:49 +0200 |
| commit | 9d47486aac9cd1a4422b78ee273b7a27bf7b733a (patch) | |
| tree | a015067fe963f3a24e8f37a8b9cd581540b3bb8c /tests | |
| parent | 21be45a904a0afc767214298721bd2bbce19a054 (diff) | |
refactor: flatten src and migrate to meson
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/codegen_test.c | 4 | ||||
| -rw-r--r-- | tests/lexer_test.c | 2 | ||||
| -rw-r--r-- | tests/parser_test.c | 2 | ||||
| -rw-r--r-- | tests/sema_test.c | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/tests/codegen_test.c b/tests/codegen_test.c index e2969db..1da711c 100644 --- a/tests/codegen_test.c +++ b/tests/codegen_test.c @@ -1,9 +1,9 @@ #include <stdio.h> #include <string.h> -#include "parser/parser.h" -#include "codegen/nasm.h" +#include "nasm.h" #include "tests.h" +#include "parser.h" static void generate_to_buffer(struct Program* program, char* buffer, size_t size) { diff --git a/tests/lexer_test.c b/tests/lexer_test.c index a44b1f0..0810c3b 100644 --- a/tests/lexer_test.c +++ b/tests/lexer_test.c @@ -1,7 +1,7 @@ #include <string.h> #include <stdbool.h> -#include "lexer/lexer.h" +#include "lexer.h" #include "tests.h" static bool token_matches(struct Token token, enum TokenType type, const char* text) diff --git a/tests/parser_test.c b/tests/parser_test.c index e1199eb..b51093e 100644 --- a/tests/parser_test.c +++ b/tests/parser_test.c @@ -1,8 +1,8 @@ #include <string.h> #include <stdbool.h> -#include "parser/parser.h" #include "tests.h" +#include "parser.h" static bool text_is(struct Token token, const char* text) { diff --git a/tests/sema_test.c b/tests/sema_test.c index 643ffdf..3c12001 100644 --- a/tests/sema_test.c +++ b/tests/sema_test.c @@ -1,8 +1,8 @@ #include <stdbool.h> -#include "parser/parser.h" -#include "sema/sema.h" +#include "sema.h" #include "tests.h" +#include "parser.h" static bool analyze_source(const char* source) { |
