17 lines
273 B
C
17 lines
273 B
C
|
|
#include <debug.h>
|
|
|
|
#include "inheritance.h"
|
|
#include "struct.h"
|
|
#include "print.h"
|
|
|
|
void expression_print(
|
|
struct expression* this)
|
|
{
|
|
assert(this);
|
|
assert(this->inheritance);
|
|
assert(this->inheritance->print);
|
|
|
|
(this->inheritance->print)(this);
|
|
}
|
|
|