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

34 lines
576 B
C

#include <assert.h>
#include <stddef.h>
#include <debug.h>
#include "../prettyprint_errors.h"
#include "struct.h"
#include "prettyprint_errors.h"
struct stringtree* substatements_statement_prettyprint_errors(
struct statement* super)
{
ENTER;
struct substatements_statement* this = (void*) super;
struct stringtree* tree = NULL;
tree = statement_prettyprint_errors(this->left);
if (tree)
{
TODO;
}
else
{
tree = statement_prettyprint_errors(this->right);
}
EXIT;
return tree;
}