mirror of
https://github.com/ValKmjolnir/Nasal-Interpreter.git
synced 2026-07-26 21:08:45 +08:00
update
This commit is contained in:
@@ -185,6 +185,13 @@ class nasal_lexer
|
||||
detail_token_list.clear();
|
||||
return;
|
||||
}
|
||||
void delete_all_tokens()
|
||||
{
|
||||
token_list.clear();
|
||||
detail_token_list.clear();
|
||||
error=0;
|
||||
return;
|
||||
}
|
||||
void print_token_list()
|
||||
{
|
||||
for(std::list<token>::iterator i=token_list.begin();i!=token_list.end();++i)
|
||||
|
||||
Reference in New Issue
Block a user