mirror of
https://github.com/ValKmjolnir/Nasal-Interpreter.git
synced 2026-07-26 21:08:45 +08:00
🚀 shrink code size & now import module can search lib file from local dir and dirs in PATH
This commit is contained in:
+1
-1
@@ -401,7 +401,7 @@ void nasal_lexer::scan(const std::string& file)
|
||||
void nasal_lexer::print()
|
||||
{
|
||||
for(auto& tok:tokens)
|
||||
std::cout<<"("<<tok.line<<" | "<<rawstr(tok.str)<<")\n";
|
||||
std::cout<<"("<<tok.line<<" | "<<rawstr(tok.str,128)<<")\n";
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user