blob: f762ab90d5226114f12afc917a1f7d5521e0dd95 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#ifndef FN_H
#define FN_H
#include "cgen.h"
#include "lex.h"
#include "parse.h"
#include "prv.h"
struct fn_cgen
{
char tmp[sizeof "abcdefghijklmopqrstuvwyxz"];
};
int fn(const struct lex *l, struct prv *p);
struct fn *fn_cur(const struct prv *p);
int fn_cgen(const struct fn *fn, struct cgen *c);
const struct stentry *fn_var(const struct fn *fn, const struct tk *tk);
int fn_end(const struct lex *l, struct prv *p);
void fn_free(struct fn *fn);
void fn_cgen_free(struct fn_cgen *c);
#endif
|