fix: fix some bug in lexer

This commit is contained in:
2023-12-14 03:23:10 +00:00
parent 7ca2b28548
commit bf676afd77
3 changed files with 12 additions and 4 deletions

View File

@ -17,10 +17,10 @@ void BookStoreMain(bool is_server, std::string config_dir) {
std::string cmd;
while (std::getline(std::cin, cmd)) {
auto result = std::move(engine.Execute(cmd, login_stack));
// debugPrint(cmd);
debugPrint(cmd);
for (auto &line : result) {
std::cout << line << '\n';
// debugPrint(line);
debugPrint(line);
}
// debugPrint();
if (BookStore_ZYM::shut_down) return;