blob: 0ee70cbfc9d80c7cef7331a7f4aba87939e96500 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#ifndef STMTS_H
#define STMTS_H
#include "cgen.h"
#include "prv.h"
#include "call.h"
#include "display.h"
#include "set.h"
struct stmt
{
enum
{
DISPLAY,
SET,
CALL
} type;
union
{
struct display display;
struct set set;
struct call call;
} u;
};
struct stmt *stmt_cur(const struct prv *p);
int stmt_cgen(const struct stmt *s, struct cgen *c);
void stmt_free(struct stmt *s);
extern const struct seq stmts[];
#endif
|