refactor: rename coders/lua_parsing to coders/syntax_parser
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#include "coders/lua_parsing.hpp"
|
||||
#include "coders/syntax_parser.hpp"
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
@@ -14,7 +14,7 @@ TEST(lua_parsing, Tokenizer) {
|
||||
auto filename = "res:scripts/stdlib.lua";
|
||||
auto source = io::read_string(filename);
|
||||
try {
|
||||
auto tokens = lua::tokenize(filename, util::str2wstr_utf8(source));
|
||||
auto tokens = devtools::tokenize(filename, util::str2wstr_utf8(source));
|
||||
for (const auto& token : tokens) {
|
||||
std::cout << (int)token.tag << " "
|
||||
<< util::quote(util::wstr2str_utf8(token.text))
|
||||
|
||||
Reference in New Issue
Block a user