aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author_ov4 <ov4@ov4.org>2026-09-05 16:42:34 +0000
committer_ov4 <ov4@ov4.org>2026-09-05 16:42:34 +0000
commit1d6f877864f3c1e8c04a2be8cb007fc598360642 (patch)
treeaddd479c4ceb1be6f3b034f2593ea51f5dbe2b4e
parente4818de45bea799629b288c30514a52fc22abfb2 (diff)
fix typo
-rw-r--r--include/lexer/ast.h6
-rw-r--r--include/lexer/shared.h2
-rw-r--r--include/lexer/token.h6
-rw-r--r--module-test/ast.cc (renamed from ast.cc)10
4 files changed, 12 insertions, 12 deletions
diff --git a/include/lexer/ast.h b/include/lexer/ast.h
index 05ba553..59c1e4b 100644
--- a/include/lexer/ast.h
+++ b/include/lexer/ast.h
@@ -2,9 +2,9 @@
#include <string>
-#include "parser/enum_type.h"
-#include "parser/token.h"
-#include "parser/shared.h"
+#include "lexer/enum_type.h"
+#include "lexer/token.h"
+#include "lexer/shared.h"
using namespace std; // remove this
diff --git a/include/lexer/shared.h b/include/lexer/shared.h
index 01f1483..eadef14 100644
--- a/include/lexer/shared.h
+++ b/include/lexer/shared.h
@@ -3,7 +3,7 @@
#include <string>
#include <vector>
-#include "parser/enum_type.h"
+#include "lexer/enum_type.h"
namespace ov4
{
diff --git a/include/lexer/token.h b/include/lexer/token.h
index 5b65d67..5494009 100644
--- a/include/lexer/token.h
+++ b/include/lexer/token.h
@@ -1,9 +1,9 @@
#pragma once
-#include <string>
+#include <string>lexer
-#include "parser/enum_type.h"
-#include "parser/shared.h"
+#include "lexer/enum_type.h"
+#include "lexer/shared.h"
using namespace std; // remove this
diff --git a/ast.cc b/module-test/ast.cc
index 4e92969..f9dcbb8 100644
--- a/ast.cc
+++ b/module-test/ast.cc
@@ -1,6 +1,6 @@
// TEST FILE
// ONLY FOR DEMONSTRATION
-// will be removed as soon as parser is completed
+// will be removed as soon as lexer is completed
#include <iostream>
@@ -13,10 +13,10 @@
#include "magic_enum/magic_enum.hpp"
-#include "parser/shared.h"
-#include "parser/ast.h"
-#include "parser/enum_type.h"
-#include "parser/token.h"
+#include "lexer/shared.h"
+#include "lexer/ast.h"
+#include "lexer/enum_type.h"
+#include "lexer/token.h"
using namespace std;
using namespace ov4;