Implements namespace statement.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
#include <string_view>
|
||||
#include "../../Diagnostics/Diagnostics.hpp"
|
||||
#include "../../Utils/MemoryAllocator.hpp"
|
||||
#include "../../Utils/MemoryPool.hpp"
|
||||
#include "LexToken.hpp"
|
||||
|
||||
namespace MalachScript::Parser {
|
||||
@@ -22,7 +22,7 @@ namespace MalachScript::Parser {
|
||||
size_t _scriptLength;
|
||||
Diagnostics::Diagnostics* _diagnostics;
|
||||
|
||||
Utils::MemoryAllocator<2048, 1024> _allocator;
|
||||
Utils::MemoryPool<2048, 1024> _allocator;
|
||||
|
||||
inline char8_t Consume() {
|
||||
if (++_position >= _scriptLength) {
|
||||
|
||||
Reference in New Issue
Block a user