lambda-calc-1/parse/tokenizer/free.c
2025-01-20 13:40:51 -06:00

37 lines
526 B
C

#include <stdlib.h>
#include <debug.h>
#include <wcistream/free.h>
#include "../position/free.h"
#include "../token/free.h"
#include "struct.h"
#include "free.h"
void free_tokenizer(
struct tokenizer* this)
{
ENTER;
if (this)
{
free_wcistream(this->stream);
free_position(this->position);
free_token(this->token);
free_token(this->put_back);
free(this->rawtoken.data);
free(this);
}
EXIT;
}