26 lines
518 B
C
26 lines
518 B
C
|
|
#include <debug.h>
|
|
|
|
#include <expression/prettyprint.h>
|
|
|
|
#include "struct.h"
|
|
#include "prettyprint.h"
|
|
|
|
struct stringtree* expression_statement_prettyprint(
|
|
int *out_chosen_color,
|
|
struct statement* super,
|
|
struct color_factory* cfactory,
|
|
bool with_color)
|
|
{
|
|
ENTER;
|
|
|
|
struct expression_statement* const this = (void*) super;
|
|
|
|
struct stringtree* tree = expression_prettyprint(
|
|
out_chosen_color,
|
|
this->expression, cfactory, with_color);
|
|
|
|
EXIT;
|
|
return tree;
|
|
}
|
|
|