27 lines
605 B
C
27 lines
605 B
C
|
|
#include <debug.h>
|
|
|
|
#include "../execute.h"
|
|
|
|
#include "struct.h"
|
|
#include "execute.h"
|
|
|
|
void substatements_statement_execute(
|
|
struct statement* super,
|
|
struct environment** environment,
|
|
struct booleans* booleans,
|
|
struct wcostream* ostream,
|
|
bool print_value,
|
|
bool print_with_color)
|
|
{
|
|
ENTER;
|
|
|
|
struct substatements_statement* this = (void*) super;
|
|
|
|
statement_execute(this->left, environment, booleans, ostream, print_value, print_with_color);
|
|
|
|
statement_execute(this->right, environment, booleans, ostream, print_value, print_with_color);
|
|
|
|
EXIT;
|
|
}
|
|
|