21 lines
281 B
C
21 lines
281 B
C
|
|
#include <debug.h>
|
|
|
|
#include "struct.h"
|
|
#include "print.h"
|
|
|
|
void literal_expression_print(
|
|
struct expression* super)
|
|
{
|
|
struct literal_expression* this = (void*) super;
|
|
|
|
if (this->value)
|
|
{
|
|
printf("1");
|
|
}
|
|
else
|
|
{
|
|
printf("0");
|
|
}
|
|
}
|
|
|