lambda-calc-1/statement/prettyprint_errors.c
2025-01-13 20:36:07 -06:00

24 lines
432 B
C

#include <assert.h>
#include <debug.h>
#include "struct.h"
#include "inheritance.h"
#include "prettyprint_errors.h"
struct stringtree* statement_prettyprint_errors(
struct statement* this)
{
ENTER;
assert(this);
assert(this->inheritance);
assert(this->inheritance->prettyprint_errors);
struct stringtree* tree = (this->inheritance->prettyprint_errors)(this);
EXIT;
return tree;
}