34 lines
576 B
C
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;
|
|
}
|