mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 10:31:50 +00:00
refactor: rename coders/lua_parsing to coders/syntax_parser
This commit is contained in:
parent
d888ddec4c
commit
4360cd408b
4 changed files with 10 additions and 9 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue