mirror of
https://github.com/ValKmjolnir/Nasal-Interpreter.git
synced 2026-07-26 21:08:45 +08:00
fixed bug in nasal_parse
This commit is contained in:
+1
-1
@@ -363,7 +363,7 @@ void nasal_lexer::scanner()
|
||||
|
||||
void nasal_lexer::print_token()
|
||||
{
|
||||
for(auto tok:token_list)
|
||||
for(auto& tok:token_list)
|
||||
std::cout<<"("<<tok.line<<" | "<<tok.str<<")\n";
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user