lambda-calculus/expression/prettyprint_errors.c
2025-01-13 20:36:07 -06:00

23 lines
433 B
C

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