34 lines
563 B
C
34 lines
563 B
C
|
|
#include <stddef.h>
|
|
|
|
#include <assert.h>
|
|
|
|
#include <debug.h>
|
|
|
|
#include "../prettyprint_errors.h"
|
|
|
|
#include "struct.h"
|
|
#include "prettyprint_errors.h"
|
|
|
|
struct stringtree* application_expression_prettyprint_errors(
|
|
struct expression* super)
|
|
{
|
|
ENTER;
|
|
|
|
struct application_expression* const this = (void*) super;
|
|
|
|
struct stringtree* tree = expression_prettyprint_errors(this->left);
|
|
|
|
if (tree)
|
|
{
|
|
TODO;
|
|
}
|
|
else
|
|
{
|
|
tree = expression_prettyprint_errors(this->right);
|
|
}
|
|
|
|
EXIT;
|
|
return NULL;
|
|
}
|
|
|