mirror of
https://github.com/3lswear/webserv.git
synced 2025-10-29 13:27:59 +03:00
fix: reset last token when needed
This commit is contained in:
@@ -204,4 +204,9 @@ namespace config
|
||||
file.clear();
|
||||
file.seekg(prev_pos);
|
||||
}
|
||||
|
||||
void Tokenizer::set_last(e_token type)
|
||||
{
|
||||
last_token = type;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user