23 lines
433 B
C
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;
|
|
}
|